summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-01-29 10:32:43 +0200
committerChristof Schmitt <cs@samba.org>2019-01-29 22:06:59 +0100
commit60b062d614ecf8fa97b3efc0e587d3ee55e4971b (patch)
tree0690f865c83ff6fb0b556cad37361453205a3219
parentca93b1e15a1c0606fe7e2d149af30cc0168fdb7b (diff)
downloadsamba-60b062d614ecf8fa97b3efc0e587d3ee55e4971b.tar.gz
vfs_gpfs: Fix the 32-bit build
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Christof Schmitt <cs@samba.org> Autobuild-User(master): Christof Schmitt <cs@samba.org> Autobuild-Date(master): Tue Jan 29 22:06:59 CET 2019 on sn-devel-144
-rw-r--r--source3/modules/vfs_gpfs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index 3a75efdf5e6..d86d0996fcd 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -2112,8 +2112,10 @@ static int vfs_gpfs_connect(struct vfs_handle_struct *handle,
if (buf.f_type != GPFS_SUPER_MAGIC) {
DBG_ERR("SMB share %s, path %s not in GPFS file system."
- " statfs magic: 0x%lx\n",
- service, connectpath, buf.f_type);
+ " statfs magic: 0x%jx\n",
+ service,
+ connectpath,
+ (uintmax_t)buf.f_type);
errno = EINVAL;
TALLOC_FREE(config);
return -1;