setcifsacl: fix format specifier in error message
authorJeff Layton <jlayton@samba.org>
Fri, 9 Nov 2012 12:49:43 +0000 (07:49 -0500)
committerJeff Layton <jlayton@samba.org>
Fri, 9 Nov 2012 12:49:43 +0000 (07:49 -0500)
setcifsacl.c:833: warning: format '%ld' expects type 'long int', but
argument 3 has type 'ssize_t'

Signed-off-by: Jeff Layton <jlayton@samba.org>
setcifsacl.c

index 465f195b0691cb0e7505abd282fe71e95a333ee1..593997a1cda0dfefe9a73a6a7e992048b6cacef5 100644 (file)
@@ -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;
        }