diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-04-17 19:11:31 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-04-17 19:11:31 +0000 |
commit | 61b7791486fb7793bb5b96f4103161e702239e19 (patch) | |
tree | d1f32b5d1351b8b83a70b4102da0d5cd4f135088 /src | |
parent | b072c3d647545cadd3aea4d28dad97cf1af01b31 (diff) | |
download | nginx-61b7791486fb7793bb5b96f4103161e702239e19.tar.gz nginx-61b7791486fb7793bb5b96f4103161e702239e19.zip |
fix building on platforms which have no atomic operations support,
the bug was introduced in r2564
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ngx_log.c | 4 | ||||
-rw-r--r-- | src/core/ngx_log.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c index f1718f185..8c266b77d 100644 --- a/src/core/ngx_log.c +++ b/src/core/ngx_log.c @@ -184,9 +184,9 @@ ngx_log_debug_core(ngx_log_t *log, ngx_err_t err, const char *fmt, ...) void -ngx_log_abort(ngx_err_t err, const char *text) +ngx_log_abort(ngx_err_t err, const char *text, void *param) { - ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, err, text); + ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, err, text, param); } diff --git a/src/core/ngx_log.h b/src/core/ngx_log.h index 1fd1ad8ad..73de6fddc 100644 --- a/src/core/ngx_log.h +++ b/src/core/ngx_log.h @@ -198,7 +198,7 @@ void ngx_cdecl ngx_log_debug_core(ngx_log_t *log, ngx_err_t err, ngx_log_t *ngx_log_init(void); ngx_log_t *ngx_log_create_errlog(ngx_cycle_t *cycle, ngx_array_t *args); char *ngx_set_error_log_levels(ngx_conf_t *cf, ngx_log_t *log); -void ngx_log_abort(ngx_err_t err, const char *text); +void ngx_log_abort(ngx_err_t err, const char *text, void *param); extern ngx_module_t ngx_errlog_module; |