1
0
mirror of git://git.suckless.org/sbase synced 2024-12-25 00:12:42 +00:00

du: Reset size counter for each file read

This commit is contained in:
Dionysis Grigoropoulos 2015-04-06 00:49:00 +03:00 committed by sin
parent d8e829a88d
commit ada69106b7

1
du.c
View File

@ -103,6 +103,7 @@ main(int argc, char *argv[])
printpath(n, ".");
} else {
for (; *argv; argc--, argv++) {
n = 0;
recurse(*argv, &n, &r);
printpath(n, *argv);
}