diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-21 12:31:28 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-09-21 12:31:28 +0100 |
commit | 3d94db91d6ac3fa323c6f30a2398f2b7e88fc729 (patch) | |
tree | 17bd3814b6157699dbf8480689f57619d9bf8d0d /src | |
parent | 001881829f73a870d3dfbb7747c9da84c8359f36 (diff) | |
download | rspamd-3d94db91d6ac3fa323c6f30a2398f2b7e88fc729.tar.gz rspamd-3d94db91d6ac3fa323c6f30a2398f2b7e88fc729.zip |
[Minor] Fix format string...
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/rspamd_control.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |