From 66c25a7d7763b8a6bd4215b4af9f9fcc3f4d061a Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Tue, 10 Feb 2015 01:51:08 +0300 Subject: [PATCH] Core: fixed build on Tru64 UNIX. There was a typo in NGX_EACCES. Reported by Goetz T. Fischer. --- src/core/ngx_shmtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }