changeset 5972:860a1c37f3b2

Core: fixed build on Tru64 UNIX. There was a typo in NGX_EACCES. Reported by Goetz T. Fischer.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 10 Feb 2015 01:51:08 +0300
parents ebdb2023e84a
children 8c8a1fa351be
files src/core/ngx_shmtx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/ngx_shmtx.c
+++ b/src/core/ngx_shmtx.c
@@ -259,7 +259,7 @@ ngx_shmtx_trylock(ngx_shmtx_t *mtx)
 
 #if __osf__ /* Tru64 UNIX */
 
-    if (err == NGX_EACCESS) {
+    if (err == NGX_EACCES) {
         return 0;
     }