From: Stefan Metzmacher Date: Fri, 18 Jun 2021 12:18:00 +0000 (+0000) Subject: lib/util: improve debug message about unknown classes X-Git-Tag: tevent-0.11.0~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2e3b032cd94500dd409a44c01abd2357da31c29;p=thirdparty%2Fsamba.git lib/util: improve debug message about unknown classes debug classes registered by vfs modules are not available immediately. Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- diff --git a/lib/util/debug.c b/lib/util/debug.c index 05a76efc5a4..cd52fe4be77 100644 --- a/lib/util/debug.c +++ b/lib/util/debug.c @@ -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); }