aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_posix_init.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2014-05-20 16:10:07 +0400
committerRuslan Ermilov <ru@nginx.com>2014-05-20 16:10:07 +0400
commit1736c180f4683d57d175b98d5596b779bab950d4 (patch)
tree0bdf61366c6dbc9232a40ac0c77b59ba4d1f6127 /src/os/unix/ngx_posix_init.c
parent27899a923a36c877cd3307dd054b501789764bcf (diff)
downloadnginx-1736c180f4683d57d175b98d5596b779bab950d4.tar.gz
nginx-1736c180f4683d57d175b98d5596b779bab950d4.zip
Configure: the --build= option.
If set, its value is output in "nginx -v" and in the error log.
Diffstat (limited to 'src/os/unix/ngx_posix_init.c')
-rw-r--r--src/os/unix/ngx_posix_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_posix_init.c b/src/os/unix/ngx_posix_init.c
index 58e6f7614..9a4de022d 100644
--- 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);