diff options
author | Karel Zak | 2014-11-03 13:54:40 +0100 |
---|---|---|
committer | Karel Zak | 2014-11-03 13:54:40 +0100 |
commit | 74d70957b4f92a27c9057cba75eac1afea0e020d (patch) | |
tree | 5b398240657aeda0069fdbf27f5c236439004b57 /libmount | |
parent | docs: update info about env debug variables (diff) | |
download | kernel-qcow2-util-linux-74d70957b4f92a27c9057cba75eac1afea0e020d.tar.gz kernel-qcow2-util-linux-74d70957b4f92a27c9057cba75eac1afea0e020d.tar.xz kernel-qcow2-util-linux-74d70957b4f92a27c9057cba75eac1afea0e020d.zip |
tests: cleanup libmount debug test
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount')
-rw-r--r-- | libmount/src/init.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libmount/src/init.c b/libmount/src/init.c index bd0669a4b..eee67c5af 100644 --- a/libmount/src/init.c +++ b/libmount/src/init.c @@ -83,12 +83,11 @@ int main(int argc, char *argv[]) if (errno) return 1; - __UL_INIT_DEBUG(libmount, MNT_DEBUG_, mask, LIBMOUNT_DEBUG); + mnt_init_debug(mask); } else if (argc == 1) { - __UL_INIT_DEBUG(libmount, MNT_DEBUG_, 0, LIBMOUNT_DEBUG); - } - else + mnt_init_debug(0); + } else return 1; return 0; |