summaryrefslogtreecommitdiffstats
path: root/source/smbd/oplock_linux.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-11-03 14:34:25 +0000
committerTim Potter <tpot@samba.org>2003-11-03 14:34:25 +0000
commit23443e3aa079710221557e18158d0ddb8ff48a36 (patch)
treeab674d1c5ff7e34868e587d5d6f5817bba4f3c15 /source/smbd/oplock_linux.c
parent68945027b5dc6b5e1aee13e4df4d11a34e42a3a9 (diff)
downloadsamba-23443e3aa079710221557e18158d0ddb8ff48a36.tar.gz
samba-23443e3aa079710221557e18158d0ddb8ff48a36.tar.xz
samba-23443e3aa079710221557e18158d0ddb8ff48a36.zip
Fix more 64-bit printf warnings.
Diffstat (limited to 'source/smbd/oplock_linux.c')
-rw-r--r--source/smbd/oplock_linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/oplock_linux.c b/source/smbd/oplock_linux.c
index ac9cf5b8a61..5de9dd56e68 100644
--- a/source/smbd/oplock_linux.c
+++ b/source/smbd/oplock_linux.c
@@ -226,8 +226,8 @@ static BOOL linux_kernel_oplock_parse(char *msg_start, int msg_len, SMB_INO_T *i
{
/* Ensure that the msg length is correct. */
if (msg_len != KERNEL_OPLOCK_BREAK_MSG_LEN) {
- DEBUG(0,("incorrect length for KERNEL_OPLOCK_BREAK_CMD (was %d, should be %d).\n",
- msg_len, KERNEL_OPLOCK_BREAK_MSG_LEN));
+ DEBUG(0,("incorrect length for KERNEL_OPLOCK_BREAK_CMD (was %d, should be %lu).\n",
+ msg_len, (unsigned long)KERNEL_OPLOCK_BREAK_MSG_LEN));
return False;
}