]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: cleanup libmount debug test
authorKarel Zak <kzak@redhat.com>
Mon, 3 Nov 2014 12:54:40 +0000 (13:54 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 3 Nov 2014 12:54:40 +0000 (13:54 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/init.c

index bd0669a4be5bf524d64135e7262871630b0f5589..eee67c5afdf4f9824011af902daf2402ffe221f2 100644 (file)
@@ -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;