summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2005-04-27 18:32:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:43 -0500
commited1f7121a39d863066ef47e985b77fe3dbedbc9b (patch)
treee24fc83bd3a3f078620859a3c77a93372d763977 /source3/locking
parent7a8ee799259c7c0e3d5d6b3d34ce05195f53d4cb (diff)
downloadsamba-ed1f7121a39d863066ef47e985b77fe3dbedbc9b.tar.gz
samba-ed1f7121a39d863066ef47e985b77fe3dbedbc9b.tar.bz2
samba-ed1f7121a39d863066ef47e985b77fe3dbedbc9b.zip
r6502: add LOCKING debug class - pull PRINTINGDB class definition from trunk
so our numbers don't get out of sync (This used to be commit 58e307664e02ebf0415f19ed625d2f166d9cb1cc)
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/brlock.c3
-rw-r--r--source3/locking/locking.c3
-rw-r--r--source3/locking/posix.c3
3 files changed, 9 insertions, 0 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index 09c96b1286..da7fc1e67d 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -27,6 +27,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_LOCKING
+
#define ZERO_ZERO 0
/* This contains elements that differentiate locks. The smbpid is a
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index e10e8a1fa0..75b40d74a4 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -37,6 +37,9 @@
#include "includes.h"
uint16 global_smbpid;
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_LOCKING
+
/* the locking database handle */
static TDB_CONTEXT *tdb;
diff --git a/source3/locking/posix.c b/source3/locking/posix.c
index 95d4518c17..5b001b7141 100644
--- a/source3/locking/posix.c
+++ b/source3/locking/posix.c
@@ -24,6 +24,9 @@
#include "includes.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_LOCKING
+
/*
* The POSIX locking database handle.
*/