From 88fe61c7c39b97193100d61ac4785de1fb05d130 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 17 Mar 2003 18:13:57 -0500 Subject: [PATCH] cache.c: Initialize blkid_debug_mask to zero since some operating systems can't deal with variables in the common section in shared libraries. --- lib/blkid/ChangeLog | 4 ++++ lib/blkid/cache.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/blkid/ChangeLog b/lib/blkid/ChangeLog index c2bf686..d24c77c 100644 --- a/lib/blkid/ChangeLog +++ b/lib/blkid/ChangeLog @@ -1,5 +1,9 @@ 2003-03-17 Theodore Ts'o + * cache.c: Initialize blkid_debug_mask to zero since some + operating systems can't deal with variables in the common + section in shared libraries. + * getsize.c (blkid_get_dev_size): Fix Apple Darwin port. 2003-03-06 diff --git a/lib/blkid/cache.c b/lib/blkid/cache.c index 50d52a0..bfa104e 100644 --- a/lib/blkid/cache.c +++ b/lib/blkid/cache.c @@ -13,7 +13,7 @@ #include #include "blkidP.h" -int blkid_debug_mask; +int blkid_debug_mask = 0; int blkid_get_cache(blkid_cache *ret_cache, const char *filename) { -- 1.8.3.1