diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-12 00:15:56 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-12 00:15:56 +0300 |
commit | 618a3027edbfd42e52bfd7680cd24affe7a29b4c (patch) | |
tree | 5493504ca370c90464e3b6550d11b6d51c05c4fc /libbb/inode_hash.c | |
parent | 3b35fbb6323adadf7108e1d32fc4d93b4d89e9c4 (diff) |
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 * ino_dev_hashtable[i] = bucket; } -#if ENABLE_FEATURE_CLEAN_UP +#if ENABLE_DU || ENABLE_FEATURE_CLEAN_UP /* Clear statbuf hash table */ void FAST_FUNC reset_ino_dev_hashtable(void) { |