From: David Given Date: Sat, 17 Oct 2015 22:09:16 +0000 (+0200) Subject: staticify variable. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=499d6c80e1af26b410295dc9091c670db622130c;p=FUZIX.git staticify variable. --- diff --git a/Applications/util/du.c b/Applications/util/du.c index 0cf8855b..b19ef852 100644 --- a/Applications/util/du.c +++ b/Applications/util/du.c @@ -131,7 +131,7 @@ long dodir(char *d, int thislev, dev_t dev) long total; DIR *dp; struct dirent *entry; - char dent[LINELEN]; + static char dent[LINELEN]; if (lstat(d, &s) < 0) { fprintf(stderr, "%s: %s: %s\n", prog, d, strerror(errno));