From 6a053fa770b69f21fef52966a0b577b7ac9e817e Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 13 Mar 2002 22:55:47 +0000 Subject: Fixed bodgy printf arguments in debug statment. Who would have guessed it - we now use floating point maths in Samba. --- source/smbd/reply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit