diff options
Diffstat (limited to 'du.c')
-rw-r--r-- | du.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -70,7 +70,7 @@ static long du(char *filename) | |||
70 | } | 70 | } |
71 | 71 | ||
72 | du_depth++; | 72 | du_depth++; |
73 | sum = statbuf.st_blocks; | 73 | sum = (statbuf.st_blocks >> 1); |
74 | 74 | ||
75 | /* Don't add in stuff pointed to by links */ | 75 | /* Don't add in stuff pointed to by links */ |
76 | if (S_ISLNK(statbuf.st_mode)) { | 76 | if (S_ISLNK(statbuf.st_mode)) { |
@@ -153,4 +153,4 @@ int du_main(int argc, char **argv) | |||
153 | exit(0); | 153 | exit(0); |
154 | } | 154 | } |
155 | 155 | ||
156 | /* $Id: du.c,v 1.12 2000/02/11 21:55:04 erik Exp $ */ | 156 | /* $Id: du.c,v 1.13 2000/02/13 04:10:57 beppu Exp $ */ |