aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2025-02-16 22:56:46 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-02-18 22:32:49 +0100
commit2ae86e787dc4f6b84c0c2236cecc6d45d466b840 (patch)
treefe2b6fab5e02ffc703cb42beb1a37075458b6fdf
parent88f7fb2b64a234eb14575d02db14ddd86c523c2d (diff)
downloadlibfuse-2ae86e787dc4f6b84c0c2236cecc6d45d466b840.tar.gz
example/hello_ll_uds: Switch to %zu and avoid 32bit build warning
Signed-off-by: Bernd Schubert <bschubert@ddn.com>
-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;
}