summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_gpfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules/vfs_gpfs.c')
-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;