From 499d6c80e1af26b410295dc9091c670db622130c Mon Sep 17 00:00:00 2001 From: David Given Date: Sun, 18 Oct 2015 00:09:16 +0200 Subject: [PATCH] staticify variable. --- Applications/util/du.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.34.1