From: Rosen Penev Date: Fri, 15 May 2020 18:34:31 +0000 (-0700) Subject: fix format in test (#515) X-Git-Tag: fuse-3.9.2~1 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c3f6de8549b52a0884d42dac2cfaecfaffaa8358;p=qemu-gpiodev%2Flibfuse.git fix format in test (#515) Fixes warning under 32-bit. --- 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; }