[PATCH] vfs_gpfs: Fix the 32-bit build
Volker Lendecke
Volker.Lendecke at SerNet.DE
Tue Jan 29 08:38:41 UTC 2019
Hi!
Review appreciated!
Thanks, Volker
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: 0551-370000-0, mailto:kontakt at sernet.de
Gesch.F.: Dr. Johannes Loxen und Reinhild Jung
AG Göttingen: HR-B 2816 - http://www.sernet.de
-------------- next part --------------
From 8b10b326622a76e2ef1dde79f9430201b45c2ae0 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Tue, 29 Jan 2019 10:32:43 +0200
Subject: [PATCH] vfs_gpfs: Fix the 32-bit build
Signed-off-by: Volker Lendecke <vl at samba.org>
---
source3/modules/vfs_gpfs.c | 6 ++++--
1 file 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;
--
2.11.0
More information about the samba-technical
mailing list