summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-03 10:42:43 +0200
committerVolker Lendecke <vl@samba.org>2009-04-03 12:19:20 +0200
commitb63cd72ae44ae9dcc56b8be95b52d6e47ae1c20f (patch)
tree7c490bb34d17e37b8008c1ad51b73da263c93f0d /source3/locking
parent09265bcff5a2fac42f5abf34b8b439aa0a6998a1 (diff)
downloadsamba-b63cd72ae44ae9dcc56b8be95b52d6e47ae1c20f.tar.gz
samba-b63cd72ae44ae9dcc56b8be95b52d6e47ae1c20f.tar.bz2
samba-b63cd72ae44ae9dcc56b8be95b52d6e47ae1c20f.zip
Use procid_str in debug messages for better cluster-debuggability
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/brlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index aa522ac780..be2948c531 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -41,11 +41,11 @@ static struct db_context *brlock_db;
static void print_lock_struct(unsigned int i, struct lock_struct *pls)
{
- DEBUG(10,("[%u]: smbpid = %u, tid = %u, pid = %u, ",
+ DEBUG(10,("[%u]: smbpid = %u, tid = %u, pid = %s, ",
i,
(unsigned int)pls->context.smbpid,
(unsigned int)pls->context.tid,
- (unsigned int)procid_to_pid(&pls->context.pid) ));
+ procid_str(debug_ctx(), &pls->context.pid) ));
DEBUG(10,("start = %.0f, size = %.0f, fnum = %d, %s %s\n",
(double)pls->start,