summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorTsukasa Hamano <hamano@osstech.co.jp>2012-12-06 13:01:33 -0800
committerMichael Adam <obnox@samba.org>2012-12-07 17:51:50 +0100
commit16d725b4f5ed77db865e2a3c27ae0eb4accca5a8 (patch)
treee14dac4b226e17012841c44adfa2d9dee08c95ad /lib/util
parent734d14b54834a4d03e67bcaece4f4e3cf1d10925 (diff)
downloadsamba-16d725b4f5ed77db865e2a3c27ae0eb4accca5a8.tar.gz
samba-16d725b4f5ed77db865e2a3c27ae0eb4accca5a8.tar.bz2
samba-16d725b4f5ed77db865e2a3c27ae0eb4accca5a8.zip
Fix bug #9471 - SEGV when using second vfs module.
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
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c
index 15a2452b54..7509f90c1f 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -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. */