commit 436dbee: [Minor] Fix format string

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Mar 19 12:49:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-03-19 12:44:25 +0000
URL: https://github.com/rspamd/rspamd/commit/436dbee1c25175ecadf4bf1cd794980d3d8c727f (HEAD -> master)

[Minor] Fix format string

---
 src/libserver/worker_util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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));
 		}


More information about the Commits mailing list