client: fix conversion specifier in the discarded event log message

Signed-off-by: Kirill Primak <vyivel@eclair.cafe>
(cherry picked from commit 6281ccbd3d)
This commit is contained in:
Kirill Primak 2025-05-28 21:40:17 +03:00 committed by Simon Ser
parent b26180dfea
commit 504dbf2303

View file

@ -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",