vfs_gpfs: Fix the 32-bit build
authorVolker Lendecke <vl@samba.org>
Tue, 29 Jan 2019 08:32:43 +0000 (10:32 +0200)
committerChristof Schmitt <cs@samba.org>
Tue, 29 Jan 2019 21:06:59 +0000 (22:06 +0100)
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

source3/modules/vfs_gpfs.c

index 3a75efdf5e61e26711f780b5fb5ea97ddfd14915..d86d0996fcdcf11fe44f4d752a5028daac25cc81 100644 (file)
@@ -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;