]> git.kaiwu.me - nginx.git/commitdiff
Core: fixed build on Tru64 UNIX.
authorSergey Kandaurov <pluknet@nginx.com>
Mon, 9 Feb 2015 22:51:08 +0000 (01:51 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Mon, 9 Feb 2015 22:51:08 +0000 (01:51 +0300)
There was a typo in NGX_EACCES.

Reported by Goetz T. Fischer.

src/core/ngx_shmtx.c

index 6230dc060aac87970c930af822c6f52a3b23d6fe..a255903efe02426366ed67e5a5205c91f323d95f 100644 (file)
@@ -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;
     }