diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-11 21:15:56 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-11 21:15:56 +0000 |
commit | 618a3027edbfd42e52bfd7680cd24affe7a29b4c (patch) | |
tree | 5493504ca370c90464e3b6550d11b6d51c05c4fc /libbb/inode_hash.c | |
parent | 3b35fbb6323adadf7108e1d32fc4d93b4d89e9c4 (diff) | |
download | busybox-w32-618a3027edbfd42e52bfd7680cd24affe7a29b4c.tar.gz busybox-w32-618a3027edbfd42e52bfd7680cd24affe7a29b4c.tar.bz2 busybox-w32-618a3027edbfd42e52bfd7680cd24affe7a29b4c.zip |
du: fix "du /dir /dir" case
reset_ino_dev_hashtable - 84 +84
du 388 376 -12
du_main 327 301 -26
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/2 up/down: 84/-38) Total: 46 bytes
Diffstat (limited to 'libbb/inode_hash.c')
-rw-r--r-- | libbb/inode_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/inode_hash.c b/libbb/inode_hash.c index 4469671dd..b32bd26bf 100644 --- a/libbb/inode_hash.c +++ b/libbb/inode_hash.c | |||
@@ -67,7 +67,7 @@ void FAST_FUNC add_to_ino_dev_hashtable(const struct stat *statbuf, const char * | |||
67 | ino_dev_hashtable[i] = bucket; | 67 | ino_dev_hashtable[i] = bucket; |
68 | } | 68 | } |
69 | 69 | ||
70 | #if ENABLE_FEATURE_CLEAN_UP | 70 | #if ENABLE_DU || ENABLE_FEATURE_CLEAN_UP |
71 | /* Clear statbuf hash table */ | 71 | /* Clear statbuf hash table */ |
72 | void FAST_FUNC reset_ino_dev_hashtable(void) | 72 | void FAST_FUNC reset_ino_dev_hashtable(void) |
73 | { | 73 | { |