summaryrefslogtreecommitdiff
path: root/source3/lib/filename_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/filename_util.c')
-rw-r--r--source3/lib/filename_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/filename_util.c b/source3/lib/filename_util.c
index fe43be6dc2..9a6ab2b34a 100644
--- a/source3/lib/filename_util.c
+++ b/source3/lib/filename_util.c
@@ -151,7 +151,8 @@ const char *fsp_fnum_dbg(const struct files_struct *fsp)
return "fnum [invalid value]";
}
- str = talloc_asprintf(talloc_tos(), "fnum %d", fsp->fnum);
+ str = talloc_asprintf(talloc_tos(), "fnum %llu",
+ (unsigned long long)fsp->fnum);
if (str == NULL) {
DEBUG(1, ("%s: talloc_asprintf failed\n", __FUNCTION__));
return "fnum [talloc failed!]";