made statbuf static, so that is is zero when not initialized
This commit is contained in:
parent
0261e7a853
commit
b8d8e1082d
@ -240,7 +240,7 @@ char *argv[];
|
|||||||
usage();
|
usage();
|
||||||
#ifdef DISTRIBUTION
|
#ifdef DISTRIBUTION
|
||||||
if (distr_fl) {
|
if (distr_fl) {
|
||||||
struct stat statbuf;
|
static struct stat statbuf;
|
||||||
|
|
||||||
stat(progname, &statbuf);
|
stat(progname, &statbuf);
|
||||||
distr_time = statbuf.st_mtime;
|
distr_time = statbuf.st_mtime;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user