aboutsummaryrefslogtreecommitdiff
path: root/src/core/nginx.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/core/nginx.c
parent27899a923a36c877cd3307dd054b501789764bcf (diff)
Configure: the --build= option.
If set, its value is output in "nginx -v" and in the error log.
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r--src/core/nginx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c
index 4cc80826..c75ee4fd 100644
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -217,7 +217,7 @@ main(int argc, char *const *argv)
}
if (ngx_show_version) {
- ngx_write_stderr("nginx version: " NGINX_VER NGX_LINEFEED);
+ ngx_write_stderr("nginx version: " NGINX_VER_BUILD NGX_LINEFEED);
if (ngx_show_help) {
ngx_write_stderr(