aboutsummaryrefslogtreecommitdiffstats
path: root/example/hello_ll_uds.c
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2025-02-16 22:56:46 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-02-17 20:27:35 +0100
commit9971ec56d848519a1a5d4dc27ac709d90ff03e4b (patch)
tree0994829be3be669b6c4e4b7b94c926cc10b8c9fc /example/hello_ll_uds.c
parent51cb3e2940317ce0cb409dee4f3d9e9bdde69da7 (diff)
downloadlibfuse-9971ec56d848519a1a5d4dc27ac709d90ff03e4b.tar.gz
example/hello_ll_uds: Switch to %zu and avoid 32bit build warning
Signed-off-by: Bernd Schubert <bschubert@ddn.com>
Diffstat (limited to 'example/hello_ll_uds.c')
-rw-r--r--example/hello_ll_uds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/hello_ll_uds.c b/example/hello_ll_uds.c
index a566155..e9cd173 100644
--- a/example/hello_ll_uds.c
+++ b/example/hello_ll_uds.c
@@ -185,8 +185,8 @@ static int create_socket(const char *socket_path) {
if (strnlen(socket_path, sizeof(addr.sun_path)) >=
sizeof(addr.sun_path)) {
- printf("Socket path may not be longer than %lu characters\n",
- sizeof(addr.sun_path) - 1);
+ printf("Socket path may not be longer than %zu characters\n",
+ sizeof(addr.sun_path) - 1);
return -1;
}