public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48b2072
)
staticify variable.
author
David Given
<dg@cowlark.com>
Sat, 17 Oct 2015 22:09:16 +0000
(
00:09
+0200)
committer
David Given
<dg@cowlark.com>
Sat, 17 Oct 2015 22:09:16 +0000
(
00:09
+0200)
Applications/util/du.c
patch
|
blob
|
history
diff --git
a/Applications/util/du.c
b/Applications/util/du.c
index
0cf8855
..
b19ef85
100644
(file)
--- 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));