From 3d94db91d6ac3fa323c6f30a2398f2b7e88fc729 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 21 Sep 2021 12:31:28 +0100 Subject: [PATCH] [Minor] Fix format string... --- src/libserver/rspamd_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libserver/rspamd_control.c b/src/libserver/rspamd_control.c index b16ddf68f..ef17ac24f 100644 --- a/src/libserver/rspamd_control.c +++ b/src/libserver/rspamd_control.c @@ -782,7 +782,7 @@ rspamd_control_ignore_io_handler (int fd, short what, void *ud) /* At this point we just ignore replies from the workers */ if (read (fd, &rep, sizeof (rep)) == -1) { - msg_debug("cannot read %d bytes: %s", sizeof(rep), strerror(errno)); + msg_debug("cannot read %d bytes: %s", (int)sizeof(rep), strerror(errno)); } rspamd_control_stop_pending (elt); } -- 2.39.5