mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 12:39:01 -04:00
use %u when logging worker_rlimit_nofiles
This commit is contained in:
parent
429159ee3c
commit
8a8b08f1e6
@ -280,7 +280,7 @@ kore_worker_privdrop(const char *runas, const char *root)
|
||||
rl.rlim_cur = worker_rlimit_nofiles;
|
||||
rl.rlim_max = worker_rlimit_nofiles;
|
||||
if (setrlimit(RLIMIT_NOFILE, &rl) == -1) {
|
||||
kore_log(LOG_ERR, "setrlimit(RLIMIT_NOFILE, %d): %s",
|
||||
kore_log(LOG_ERR, "setrlimit(RLIMIT_NOFILE, %u): %s",
|
||||
worker_rlimit_nofiles, errno_s);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user