From 60df9bbd90fc43e388ae42d6ed73415b45e43227 Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Fri, 9 Nov 2012 07:49:43 -0500 Subject: 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 --- 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; } -- cgit v1.2.3