summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-04-18 23:45:24 +0200
committerJeremy Allison <jra@samba.org>2013-04-19 01:36:15 +0200
commit31714c97845fff11b2997c86b5fc3a3bff8ed710 (patch)
treecec5444ea67defafc8650a3c3e8d7c2942874bd2 /source3/smbd
parent79fe1381a3a78ad2316343fc8c1c27360b46ebbf (diff)
downloadsamba-31714c97845fff11b2997c86b5fc3a3bff8ed710.tar.gz
samba-31714c97845fff11b2997c86b5fc3a3bff8ed710.tar.bz2
samba-31714c97845fff11b2997c86b5fc3a3bff8ed710.zip
s3:smbd:smb2:scavenger: fix format error for debugging open_persistent_id in scavenger_timer()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Apr 19 01:36:15 CEST 2013 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/scavenger.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/smbd/scavenger.c b/source3/smbd/scavenger.c
index fe4e56e613..e6e2878806 100644
--- a/source3/smbd/scavenger.c
+++ b/source3/smbd/scavenger.c
@@ -480,16 +480,17 @@ static void scavenger_timer(struct tevent_context *ev,
ctx->msg.open_persistent_id);
if (!ok) {
DEBUG(2, ("Failed to cleanup share modes and byte range locks "
- "for file %s open %lu\n",
+ "for file %s open %llu\n",
file_id_string_tos(&ctx->msg.file_id),
- ctx->msg.open_persistent_id));
+ (unsigned long long)ctx->msg.open_persistent_id));
}
status = smbXsrv_open_cleanup(ctx->msg.open_persistent_id);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(2, ("Failed to cleanup open global for file %s open %lu:"
+ DEBUG(2, ("Failed to cleanup open global for file %s open %llu:"
" %s\n", file_id_string_tos(&ctx->msg.file_id),
- ctx->msg.open_persistent_id, nt_errstr(status)));
+ (unsigned long long)ctx->msg.open_persistent_id,
+ nt_errstr(status)));
}
}