setcifsacl.c:833: warning: format '%ld' expects type 'long int', but
argument 3 has type 'ssize_t'

Signed-off-by: Jeff Layton <[email protected]>
---
 setcifsacl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setcifsacl.c b/setcifsacl.c
index 465f195..593997a 100644
--- a/setcifsacl.c
+++ b/setcifsacl.c
@@ -828,7 +828,7 @@ main(const int argc, char *const argv[])
 
 cifsacl:
        if (bufsize >= XATTR_SIZE_MAX) {
-               printf("%s: Buffer size %ld exceeds max size of %d\n",
+               printf("%s: Buffer size %zd exceeds max size of %d\n",
                                __func__, bufsize, XATTR_SIZE_MAX);
                goto setcifsacl_cmdlineverify_ret;
        }
-- 
1.7.11.7

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to