summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-06-19 07:31:55 +0000
committerJeremy Allison <jra@samba.org>2001-06-19 07:31:55 +0000
commit850a0e27e19ac21bc66d3d26875d3f9bafd5245c (patch)
tree3dfbb1dba63596f0ccc29fb64b16b19b09619f2f /source3/smbd
parent01877b38e4f55dd407896f8c3f08ad91d6a5ea21 (diff)
downloadsamba-850a0e27e19ac21bc66d3d26875d3f9bafd5245c.tar.gz
samba-850a0e27e19ac21bc66d3d26875d3f9bafd5245c.tar.bz2
samba-850a0e27e19ac21bc66d3d26875d3f9bafd5245c.zip
Extra debug in open.c, fix for bad debug message in reply.c
Jeremy. (This used to be commit 2c2fc8513699eb39721ac1d65fa1fdaecde526a8)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c4
-rw-r--r--source3/smbd/reply.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 8db4400664..a88dfd5573 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -492,8 +492,8 @@ static int open_mode_check(connection_struct *conn, const char *fname, SMB_DEV_T
BOOL opb_ret;
- DEBUG(5,("open_mode_check: breaking oplock (%x) on file %s, \
-dev = %x, inode = %.0f\n", share_entry->op_type, fname, (unsigned int)dev, (double)inode));
+ DEBUG(5,("open_mode_check: oplock_request = %d, breaking oplock (%x) on file %s, \
+dev = %x, inode = %.0f\n", *p_oplock_request, share_entry->op_type, fname, (unsigned int)dev, (double)inode));
/* Oplock break - unlock to request it. */
unlock_share_entry(conn, dev, inode);
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index da73a78a33..2f9898616c 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -4343,7 +4343,7 @@ int reply_lockingX(connection_struct *conn, char *inbuf,char *outbuf,int length,
BOOL break_to_none = (oplocklevel == 0);
DEBUG(5,("reply_lockingX: oplock break reply (%u) from client for fnum = %d\n",
- fsp->fnum, (unsigned int)oplocklevel ));
+ (unsigned int)oplocklevel, fsp->fnum ));
/*
* Make sure we have granted an exclusive or batch oplock on this file.