git.samba.org
/
jlayton
/
cifs-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea0441d
)
setcifsacl: fix format specifier in error message
author
Jeff Layton
<jlayton@samba.org>
Fri, 9 Nov 2012 12:49:43 +0000
(07:49 -0500)
committer
Jeff 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
patch
|
blob
|
history
diff --git
a/setcifsacl.c
b/setcifsacl.c
index 465f195b0691cb0e7505abd282fe71e95a333ee1..593997a1cda0dfefe9a73a6a7e992048b6cacef5 100644
(file)
--- 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 %
l
d exceeds max size of %d\n",
+ printf("%s: Buffer size %
z
d exceeds max size of %d\n",
__func__, bufsize, XATTR_SIZE_MAX);
goto setcifsacl_cmdlineverify_ret;
}