summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Layton <jlayton@samba.org>2012-11-09 07:49:43 -0500
committerJeff Layton <jlayton@samba.org>2012-11-09 07:49:43 -0500
commit60df9bbd90fc43e388ae42d6ed73415b45e43227 (patch)
tree291baabcbaa91f8b8b9be89328770fba7c76a77b
parentea0441d56862538b6c72ebbe085f98d9da8e14ea (diff)
downloadcifs-utils-60df9bbd90fc43e388ae42d6ed73415b45e43227.tar.gz
cifs-utils-60df9bbd90fc43e388ae42d6ed73415b45e43227.tar.bz2
cifs-utils-60df9bbd90fc43e388ae42d6ed73415b45e43227.zip
setcifsacl: fix format specifier in error message
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>
-rw-r--r--setcifsacl.c2
1 files changed, 1 insertions, 1 deletions
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;
}