diff options
author | Jeff Layton <jlayton@samba.org> | 2012-11-09 07:49:43 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2012-11-09 07:49:43 -0500 |
commit | 60df9bbd90fc43e388ae42d6ed73415b45e43227 (patch) | |
tree | 291baabcbaa91f8b8b9be89328770fba7c76a77b | |
parent | ea0441d56862538b6c72ebbe085f98d9da8e14ea (diff) | |
download | cifs-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.c | 2 |
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; } |