diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-12 01:27:11 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-12 01:27:11 +0100 |
commit | 33aa9014cb9932f6f23a7ba512660dc7fe3c4615 (patch) | |
tree | 7b591f08a4d9b743646bc7895e2850eea9a89f63 /package/xfsprogs/patches/patch-libxfs_cache_c | |
parent | 690005de4d88f24a118d234c67f96584254ecc05 (diff) |
cross-compile on freeBSD, remove bzero
Diffstat (limited to 'package/xfsprogs/patches/patch-libxfs_cache_c')
-rw-r--r-- | package/xfsprogs/patches/patch-libxfs_cache_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/xfsprogs/patches/patch-libxfs_cache_c b/package/xfsprogs/patches/patch-libxfs_cache_c new file mode 100644 index 000000000..b1a2b1eb1 --- /dev/null +++ b/package/xfsprogs/patches/patch-libxfs_cache_c @@ -0,0 +1,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; |