summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTsukasa Hamano <hamano@osstech.co.jp>2012-12-06 13:01:33 -0800
committerKarolin Seeger <kseeger@samba.org>2013-01-17 09:09:16 +0100
commit9f096874faef1162f04f00641710aacb685b0c40 (patch)
tree175d7b95c2ccc45597976d1cfba62bb3f585f4e0
parenta3f5202cfeb48b64ffe9958b35c477c9d4f68788 (diff)
downloadsamba-9f096874faef1162f04f00641710aacb685b0c40.tar.gz
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 (cherry picked from commit 16d725b4f5ed77db865e2a3c27ae0eb4accca5a8) (cherry picked from commit 25eb1af07cc09e5e019a0702c60a763cc3266196) (cherry picked from commit 82db35cdb426355e4b7fd7ecf1ce9d9fca59ecd3)
-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 108161edf55..efe6988d1c2 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -953,7 +953,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. */