blob: b1a2b1eb1c7954c248655cad729b341231d041dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- xfsprogs-3.0.0.orig/libxfs/cache.c 2009-02-04 23:29:25.000000000 +0100
+++ xfsprogs-3.0.0/libxfs/cache.c 2009-12-12 00:52:32.000000000 +0100
@@ -582,7 +582,7 @@ cache_report(
cache->c_mrus[i].cm_count * 100 / cache->c_count);
/* report hash bucket lengths */
- bzero(hash_bucket_lengths, sizeof(hash_bucket_lengths));
+ memset(hash_bucket_lengths, 0, sizeof(hash_bucket_lengths));
for (i = 0; i < cache->c_hashsize; i++) {
count = cache->c_hash[i].ch_count;
|