Fix bug #9471 - SEGV when using second vfs module.
authorTsukasa Hamano <hamano@osstech.co.jp>
Thu, 6 Dec 2012 21:01:33 +0000 (13:01 -0800)
committerMichael Adam <obnox@samba.org>
Fri, 7 Dec 2012 16:51:50 +0000 (17:51 +0100)
Don't use default_classname_table when we obviously shoud be using
classname_table.

Reviewed by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Dec  7 17:51:50 CET 2012 on sn-devel-104

lib/util/debug.c

index 15a2452b54e5908c0811310fcbc4e1dd0bb540f3..7509f90c1f144e05c313a2d4c60f73263df2e69f 100644 (file)
@@ -1007,7 +1007,7 @@ bool dbghdrclass(int level, int cls, const char *location, const char *func)
                        slprintf(header_str + hs_len,
                                 sizeof(header_str) -1 - hs_len,
                                 ", class=%s",
-                                default_classname_table[cls]);
+                                classname_table[cls]);
                }
 
                /* Print it all out at once to prevent split syslog output. */