diff options
author | Stefan Metzmacher <metze@samba.org> | 2021-06-18 12:18:00 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2021-07-01 13:02:31 +0000 |
commit | e2e3b032cd94500dd409a44c01abd2357da31c29 (patch) | |
tree | 3b56affa28249d63129a12b5a2318921e90a2e95 /lib/util | |
parent | bc39450d80b2f319501747d8b285d0d70ca6505b (diff) | |
download | samba-e2e3b032cd94500dd409a44c01abd2357da31c29.tar.gz |
lib/util: improve debug message about unknown classes
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>
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/debug.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); } |