comparison src/os/unix/ngx_posix_init.c @ 6315:cb31017e961b

Core: fix typo in error message. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
author Piotr Sikora <piotrsikora@google.com>
date Wed, 02 Dec 2015 19:17:19 -0800
parents 16013b71feed
children 8f038068f4bc
comparison
equal deleted inserted replaced
6314:fcbac620ae83 6315:cb31017e961b
61 61
62 ngx_cpuinfo(); 62 ngx_cpuinfo();
63 63
64 if (getrlimit(RLIMIT_NOFILE, &rlmt) == -1) { 64 if (getrlimit(RLIMIT_NOFILE, &rlmt) == -1) {
65 ngx_log_error(NGX_LOG_ALERT, log, errno, 65 ngx_log_error(NGX_LOG_ALERT, log, errno,
66 "getrlimit(RLIMIT_NOFILE) failed)"); 66 "getrlimit(RLIMIT_NOFILE) failed");
67 return NGX_ERROR; 67 return NGX_ERROR;
68 } 68 }
69 69
70 ngx_max_sockets = (ngx_int_t) rlmt.rlim_cur; 70 ngx_max_sockets = (ngx_int_t) rlmt.rlim_cur;
71 71