From: Sergey Kandaurov Date: Mon, 9 Feb 2015 22:51:08 +0000 (+0300) Subject: Core: fixed build on Tru64 UNIX. X-Git-Tag: release-1.7.10~2 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=66c25a7d7763b8a6bd4215b4af9f9fcc3f4d061a;p=nginx.git 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 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; }