summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/oplock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index 52a574663c..6e675b56ef 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -267,7 +267,7 @@ BOOL oplock_break(SMB_DEV_T dev, SMB_INO_T inode, struct timeval *tval)
#ifdef LARGE_SMB_INO_T
dbgtext( "dev = %x, inode = %.0f ", (unsigned int)dev, (double)inode);
#else /* LARGE_SMB_INO_T */
- dbgtext( "dev = %x, inode = %x ", (unsigned int)dev, (unsigned long)inode);
+ dbgtext( "dev = %x, inode = %lx ", (unsigned int)dev, (unsigned long)inode);
#endif /* LARGE_SMB_INO_T */
dbgtext( "allowing break to succeed.\n" );
}