made statbuf static, so that is is zero when not initialized
This commit is contained in:
parent
e10145ba2e
commit
33da68f7e2
|
@ -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…
Reference in a new issue