git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3904c26
)
vfs_fileid: Fix the 32-bit build
author
Volker Lendecke
<vl@samba.org>
Fri, 19 Jan 2018 12:15:58 +0000
(12:15 +0000)
committer
Martin Schwenke
<martins@samba.org>
Sun, 21 Jan 2018 06:08:23 +0000
(07:08 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_fileid.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_fileid.c
b/source3/modules/vfs_fileid.c
index c890876c998e4c7b17a1efc51d09b72a3fbdcaa7..5d08fe97d1552068b6b6886d447c65c2eae9efc1 100644
(file)
--- a/
source3/modules/vfs_fileid.c
+++ b/
source3/modules/vfs_fileid.c
@@
-226,8
+226,8
@@
static uint64_t fileid_device_mapping_hostname(struct fileid_handle_data *data,
return UINT64_MAX;
}
- devname = talloc_asprintf(talloc_tos(), "%s%
l
u",
- hostname, sbuf->st_ex_dev);
+ devname = talloc_asprintf(talloc_tos(), "%s%
j
u",
+ hostname,
(uintmax_t)
sbuf->st_ex_dev);
if (devname == NULL) {
DBG_ERR("talloc_asprintf failed\n");
return UINT64_MAX;