aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-05-15 11:34:31 -0700
committerGitHub <noreply@github.com>2020-05-15 19:34:31 +0100
commitc3f6de8549b52a0884d42dac2cfaecfaffaa8358 (patch)
tree4030530f1ee01a0305d90f755ae3c1df4623c43f
parent9126a7b48e2c27fb0ce19785181286b15a438f76 (diff)
downloadlibfuse-c3f6de8549b52a0884d42dac2cfaecfaffaa8358.tar.gz
fix format in test (#515)
Fixes warning under 32-bit.
-rw-r--r--test/test_syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_syscalls.c b/test/test_syscalls.c
index e1dbab3..18326c0 100644
--- a/test/test_syscalls.c
+++ b/test/test_syscalls.c
@@ -1746,7 +1746,7 @@ static int test_socket(void)
start_test("socket");
if (strlen(testsock) + 1 > sizeof(su.sun_path)) {
- fprintf(stderr, "Need to shorten mount point by %lu chars\n",
+ fprintf(stderr, "Need to shorten mount point by %zu chars\n",
strlen(testsock) + 1 - sizeof(su.sun_path));
return -1;
}