summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-05-05 02:06:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:45 -0500
commit5910e397d3f2d49c3ec13e064f402137205031a8 (patch)
treeb4d4052d404114e838ff6580e6f6fa43cfe07311 /source3/lib/util.c
parentd819760f8e4b03645ba75dea26894b47a6aefd58 (diff)
downloadsamba-5910e397d3f2d49c3ec13e064f402137205031a8.tar.gz
samba-5910e397d3f2d49c3ec13e064f402137205031a8.tar.bz2
samba-5910e397d3f2d49c3ec13e064f402137205031a8.zip
r15446: Tidy up the formatting of locking debug messages and make it more
consistent. Bring oplocks withing the purview of the locking debug channel. (This used to be commit e817cfd7d3a42d141198122eada58b5a7ba90e9c)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index c023df0b01..a9aebd0822 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -1948,7 +1948,8 @@ BOOL fcntl_lock(int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type)
SMB_STRUCT_FLOCK lock;
int ret;
- DEBUG(8,("fcntl_lock %d %d %.0f %.0f %d\n",fd,op,(double)offset,(double)count,type));
+ DEBUG(8,("fcntl_lock fd=%d op=%d offset=%.0f count=%.0f type=%d\n",
+ fd,op,(double)offset,(double)count,type));
lock.l_type = type;
lock.l_whence = SEEK_SET;
@@ -1982,7 +1983,8 @@ BOOL fcntl_getlock(int fd, SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype, pi
SMB_STRUCT_FLOCK lock;
int ret;
- DEBUG(8,("fcntl_getlock %d %.0f %.0f %d\n",fd,(double)*poffset,(double)*pcount,*ptype));
+ DEBUG(8,("fcntl_getlock fd=%d offset=%.0f count=%.0f type=%d\n",
+ fd,(double)*poffset,(double)*pcount,*ptype));
lock.l_type = *ptype;
lock.l_whence = SEEK_SET;