]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: improve debug message
authorKarel Zak <kzak@redhat.com>
Tue, 25 Sep 2012 15:04:21 +0000 (17:04 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 25 Sep 2012 15:04:21 +0000 (17:04 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/tab_parse.c

index a9a8f0fb260c60898800f368f78b7242e9e1fc88..463c884e3be865bf98b8800d66fe0b0cd9d40099 100644 (file)
@@ -770,7 +770,7 @@ int mnt_table_set_parser_fltrcb(struct libmnt_table *tb,
 {
        assert(tb);
 
-       DBG(TAB, mnt_debug_h(tb, "set table parser filter"));
+       DBG(TAB, mnt_debug_h(tb, "%s table parser filter", cb ? "set" : "unset"));
        tb->fltrcb = cb;
        tb->fltrcb_data = data;
        return 0;