# HG changeset patch # User Igor Sysoev # Date 1239995491 0 # Node ID dbd02ee65df4097d62c8d9ad08c1e5a41d8f3dba # Parent 73fe3fe858b92832233116476b5162d57942a60f fix building on platforms which have no atomic operations support, the bug was introduced in r2564 diff -r 73fe3fe858b9 -r dbd02ee65df4 src/core/ngx_log.c --- a/src/core/ngx_log.c Fri Apr 17 19:09:08 2009 +0000 +++ b/src/core/ngx_log.c Fri Apr 17 19:11:31 2009 +0000 @@ -184,9 +184,9 @@ 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 -r 73fe3fe858b9 -r dbd02ee65df4 src/core/ngx_log.h --- a/src/core/ngx_log.h Fri Apr 17 19:09:08 2009 +0000 +++ b/src/core/ngx_log.h Fri Apr 17 19:11:31 2009 +0000 @@ -198,7 +198,7 @@ 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;