summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-03-13 22:55:47 +0000
committerTim Potter <tpot@samba.org>2002-03-13 22:55:47 +0000
commit2ba1950c799137589c4111c9406f88a8f7526e0b (patch)
tree7352bef1006ca0e9b5b4a129e2586570bdde2f3f /source3
parentf9af25c4ecaf30ccd9bb01762f65fe93ef566687 (diff)
downloadsamba-2ba1950c799137589c4111c9406f88a8f7526e0b.tar.gz
samba-2ba1950c799137589c4111c9406f88a8f7526e0b.tar.bz2
samba-2ba1950c799137589c4111c9406f88a8f7526e0b.zip
Fixed bodgy printf arguments in debug statment.
Who would have guessed it - we now use floating point maths in Samba. (This used to be commit 6a053fa770b69f21fef52966a0b577b7ac9e817e)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index cbcad435d2..8f6ff9cb34 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -3832,7 +3832,7 @@ no oplock granted on this file (%s).\n", fsp->fnum, fsp->fsp_name));
DEBUG(10,("reply_lockingX: lock start=%.0f, len=%.0f for pid %u, file %s timeout = %d\n",
(double)offset, (double)count, (unsigned int)lock_pid,
- (int)lock_timeout, fsp->fsp_name ));
+ fsp->fsp_name, (int)lock_timeout ));
status = do_lock_spin(fsp,conn,lock_pid, count,offset,
((locktype & 1) ? READ_LOCK : WRITE_LOCK));