diff options
author | Karel Zak | 2010-09-13 17:06:18 +0200 |
---|---|---|
committer | Karel Zak | 2011-01-03 12:28:42 +0100 |
commit | 3f31a9593b21dd08b5f4469f9ff88dc12dbfb63d (patch) | |
tree | 5813da0ccbd778cb7e79f42eb39de43aadd1d000 /shlibs/mount/src/init.c | |
parent | libmount: add new psetudo filesystems (diff) | |
download | kernel-qcow2-util-linux-3f31a9593b21dd08b5f4469f9ff88dc12dbfb63d.tar.gz kernel-qcow2-util-linux-3f31a9593b21dd08b5f4469f9ff88dc12dbfb63d.tar.xz kernel-qcow2-util-linux-3f31a9593b21dd08b5f4469f9ff88dc12dbfb63d.zip |
libmount: rewrite DBG() macro
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/init.c')
-rw-r--r-- | shlibs/mount/src/init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shlibs/mount/src/init.c b/shlibs/mount/src/init.c index 68c13f949..2dfab58f3 100644 --- a/shlibs/mount/src/init.c +++ b/shlibs/mount/src/init.c @@ -12,6 +12,7 @@ */ #include <stdlib.h> +#include <stdarg.h> #include "mountP.h" @@ -29,7 +30,7 @@ int libmount_debug_mask; */ void mnt_init_debug(int mask) { - if (libmount_debug_mask & DEBUG_INIT) + if (libmount_debug_mask & MNT_DEBUG_INIT) return; if (!mask) { char *str = mnt_getenv_safe("LIBMOUNT_DEBUG"); @@ -41,5 +42,5 @@ void mnt_init_debug(int mask) if (libmount_debug_mask) printf("libmount: debug mask set to 0x%04x.\n", libmount_debug_mask); - libmount_debug_mask |= DEBUG_INIT; + libmount_debug_mask |= MNT_DEBUG_INIT; } |