aboutsummaryrefslogtreecommitdiffstats
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/darwin/guts/open.c2
-rw-r--r--ports/linux/guts/openat.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/darwin/guts/open.c b/ports/darwin/guts/open.c
index f34b0d3..307bcc9 100644
--- a/ports/darwin/guts/open.c
+++ b/ports/darwin/guts/open.c
@@ -12,7 +12,7 @@
/* mask out mode bits appropriately */
mode = mode & ~pseudo_umask;
-#ifdef PSEUDO_FORCE_ASYNCH
+#ifdef PSEUDO_FORCE_ASYNC
flags &= ~O_SYNC;
#endif
diff --git a/ports/linux/guts/openat.c b/ports/linux/guts/openat.c
index a3637c8..b571c56 100644
--- a/ports/linux/guts/openat.c
+++ b/ports/linux/guts/openat.c
@@ -20,7 +20,7 @@
}
#endif
-#ifdef PSEUDO_FORCE_ASYNCH
+#ifdef PSEUDO_FORCE_ASYNC
/* Yes, I'm aware that every Linux system I've seen has
* DSYNC and RSYNC being the same value as SYNC.
*/