From 16d725b4f5ed77db865e2a3c27ae0eb4accca5a8 Mon Sep 17 00:00:00 2001 From: Tsukasa Hamano Date: Thu, 6 Dec 2012 13:01:33 -0800 Subject: 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 Reviewed-by: Michael Adam Autobuild-User(master): Michael Adam Autobuild-Date(master): Fri Dec 7 17:51:50 CET 2012 on sn-devel-104 --- lib/util/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- cgit