diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2015-02-10 01:51:08 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2015-02-10 01:51:08 +0300 |
commit | 66c25a7d7763b8a6bd4215b4af9f9fcc3f4d061a (patch) | |
tree | 2f9dd695e4b09da8a20c742c2541cd30fb2cec46 /src/core/ngx_shmtx.c | |
parent | 59969c22ce287c951eb759792bf0df5d01f94aae (diff) |
Core: fixed build on Tru64 UNIX.
There was a typo in NGX_EACCES.
Reported by Goetz T. Fischer.
Diffstat (limited to 'src/core/ngx_shmtx.c')
-rw-r--r-- | src/core/ngx_shmtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_shmtx.c b/src/core/ngx_shmtx.c index 6230dc060..a255903ef 100644 --- 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; } |