diff src/os/unix/ngx_posix_init.c @ 5701:1209b8a7b077

Configure: the --build= option. If set, its value is output in "nginx -v" and in the error log.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 20 May 2014 16:10:07 +0400
parents 4c36e15651f7
children 16013b71feed
line wrap: on
line diff
--- a/src/os/unix/ngx_posix_init.c
+++ b/src/os/unix/ngx_posix_init.c
@@ -82,7 +82,7 @@ ngx_os_init(ngx_log_t *log)
 void
 ngx_os_status(ngx_log_t *log)
 {
-    ngx_log_error(NGX_LOG_NOTICE, log, 0, NGINX_VER);
+    ngx_log_error(NGX_LOG_NOTICE, log, 0, NGINX_VER_BUILD);
 
 #ifdef NGX_COMPILER
     ngx_log_error(NGX_LOG_NOTICE, log, 0, "built by " NGX_COMPILER);