# HG changeset patch # User Sergey Kandaurov # Date 1423522268 -10800 # Node ID 860a1c37f3b241efe0d6a1df033603b48b909c54 # Parent ebdb2023e84af9e2e9f5d826e5cfed5ee1b7e425 Core: fixed build on Tru64 UNIX. There was a typo in NGX_EACCES. Reported by Goetz T. Fischer. diff --git a/src/core/ngx_shmtx.c b/src/core/ngx_shmtx.c --- 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; }