diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-19 12:44:25 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-19 12:44:25 +0000 |
commit | 436dbee1c25175ecadf4bf1cd794980d3d8c727f (patch) | |
tree | f9a448883f82a019f548f5d43b9d61845af2f201 | |
parent | e49164c4fd5756bbf950f5a2fb77e9685c07d806 (diff) | |
download | rspamd-436dbee1c25175ecadf4bf1cd794980d3d8c727f.tar.gz rspamd-436dbee1c25175ecadf4bf1cd794980d3d8c727f.zip |
[Minor] Fix format string
-rw-r--r-- | src/libserver/worker_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/worker_util.c b/src/libserver/worker_util.c index a5bb968e6..26aacd160 100644 --- a/src/libserver/worker_util.c +++ b/src/libserver/worker_util.c @@ -535,7 +535,7 @@ rspamd_worker_set_limits (struct rspamd_main *rspamd_main, rlmt.rlim_max = (rlim_t) cf->rlimit_nofile; if (setrlimit (RLIMIT_NOFILE, &rlmt) == -1) { - msg_warn_main ("cannot set files rlimit: %d, %s", + msg_warn_main ("cannot set files rlimit: %L, %s", cf->rlimit_nofile, strerror (errno)); } |