summaryrefslogtreecommitdiffstats
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
commit6a053fa770b69f21fef52966a0b577b7ac9e817e (patch)
tree1799f8b30ae8052e1d5eb43eb8d273dd1cfd19a8
parent62b80d5c65ae8cf35347ee5c3d21ce1702c6449e (diff)
downloadsamba-6a053fa770b69f21fef52966a0b577b7ac9e817e.tar.gz
samba-6a053fa770b69f21fef52966a0b577b7ac9e817e.tar.xz
samba-6a053fa770b69f21fef52966a0b577b7ac9e817e.zip
Fixed bodgy printf arguments in debug statment.
Who would have guessed it - we now use floating point maths in Samba.
-rw-r--r--source/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index cbcad435d2c..8f6ff9cb341 100644
--- a/source/smbd/reply.c
+++ b/source/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));