From 33aa9014cb9932f6f23a7ba512660dc7fe3c4615 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 12 Dec 2009 01:27:11 +0100 Subject: cross-compile on freeBSD, remove bzero --- package/xfsprogs/patches/patch-libxfs_cache_c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/xfsprogs/patches/patch-libxfs_cache_c (limited to 'package/xfsprogs/patches/patch-libxfs_cache_c') 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; -- cgit v1.2.3