From 504dbf2303d0f7590effa2ec22e5a77ae89a6978 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Wed, 28 May 2025 21:40:17 +0300 Subject: client: fix conversion specifier in the discarded event log message Signed-off-by: Kirill Primak (cherry picked from commit 6281ccbd3d98ef0a6503425e3e7d705e3075e265) --- src/wayland-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland-client.c b/src/wayland-client.c index 25aa1cd..5c9ed71 100644 --- a/src/wayland-client.c +++ b/src/wayland-client.c @@ -1579,7 +1579,7 @@ queue_event(struct wl_display *display, int len) clock_gettime(CLOCK_REALTIME, &tp); time = (tp.tv_sec * 1000000L) + (tp.tv_nsec / 1000); - fprintf(stderr, "[%7u.%03u] discarded [%s]#%d.[event %d]" + fprintf(stderr, "[%7u.%03u] discarded [%s]#%u.[event %d]" "(%d fd, %d byte)\n", time / 1000, time % 1000, zombie ? "zombie" : "unknown", -- cgit v1.2.3-70-g09d2