]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix format string
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 19 Mar 2019 12:44:25 +0000 (12:44 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 19 Mar 2019 12:44:25 +0000 (12:44 +0000)
src/libserver/worker_util.c

index a5bb968e60b41fdba359716b3505003ccc040023..26aacd16010f94e218e7694b0729aa906a976eeb 100644 (file)
@@ -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));
                }