]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib/util: improve debug message about unknown classes
authorStefan Metzmacher <metze@samba.org>
Fri, 18 Jun 2021 12:18:00 +0000 (12:18 +0000)
committerStefan Metzmacher <metze@samba.org>
Thu, 1 Jul 2021 13:02:31 +0000 (13:02 +0000)
debug classes registered by vfs modules are not available immediately.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/util/debug.c

index 05a76efc5a443ea9c1bf691d864ffa75826f922e..cd52fe4be7735f5ddb71b141861b6e2c16ccda5b 100644 (file)
@@ -795,8 +795,7 @@ static int debug_lookup_classname(const char *classname)
        if (ndx != -1)
                return ndx;
 
-       DEBUG(0, ("debug_lookup_classname(%s): Unknown class\n",
-                 classname));
+       DBG_WARNING("Unknown classname[%s] -> adding it...\n", classname);
        return debug_add_class(classname);
 }