1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

Fixed bodgy printf arguments in debug statment.

Who would have guessed it - we now use floating point maths in Samba.
This commit is contained in:
Tim Potter 0001-01-01 00:00:00 +00:00
parent 62b80d5c65
commit 6a053fa770

View File

@ -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));