summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_file.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-04-21 15:50:23 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-04-21 15:50:23 +0000
commit6a200a3beb7108fac395e36145a207dd9cd739f1 (patch)
tree7745cc379115902c9c540a9d0e3094921302a2e2 /sys/compat/linux/linux_file.c
parent631703afd6002f38b0b4e76504c91e3ab397f3f3 (diff)
O_FYNC -> O_SYNC
Diffstat (limited to 'sys/compat/linux/linux_file.c')
-rw-r--r--sys/compat/linux/linux_file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c
index a25d65763ed..b974f20e77d 100644
--- a/sys/compat/linux/linux_file.c
+++ b/sys/compat/linux/linux_file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_file.c,v 1.12 2000/04/19 08:34:56 csapuntz Exp $ */
+/* $OpenBSD: linux_file.c,v 1.13 2000/04/21 15:50:20 millert Exp $ */
/* $NetBSD: linux_file.c,v 1.15 1996/05/20 01:59:09 fvdl Exp $ */
/*
@@ -91,7 +91,7 @@ linux_to_bsd_ioflags(lflags)
res |= cvtto_bsd_mask(lflags, LINUX_O_NOCTTY, O_NOCTTY);
res |= cvtto_bsd_mask(lflags, LINUX_O_TRUNC, O_TRUNC);
res |= cvtto_bsd_mask(lflags, LINUX_O_NDELAY, O_NDELAY);
- res |= cvtto_bsd_mask(lflags, LINUX_O_SYNC, O_FSYNC);
+ res |= cvtto_bsd_mask(lflags, LINUX_O_SYNC, O_SYNC);
res |= cvtto_bsd_mask(lflags, LINUX_FASYNC, O_ASYNC);
res |= cvtto_bsd_mask(lflags, LINUX_O_APPEND, O_APPEND);
@@ -112,7 +112,7 @@ bsd_to_linux_ioflags(bflags)
res |= cvtto_linux_mask(bflags, O_NOCTTY, LINUX_O_NOCTTY);
res |= cvtto_linux_mask(bflags, O_TRUNC, LINUX_O_TRUNC);
res |= cvtto_linux_mask(bflags, O_NDELAY, LINUX_O_NDELAY);
- res |= cvtto_linux_mask(bflags, O_FSYNC, LINUX_O_SYNC);
+ res |= cvtto_linux_mask(bflags, O_SYNC, LINUX_O_SYNC);
res |= cvtto_linux_mask(bflags, O_ASYNC, LINUX_FASYNC);
res |= cvtto_linux_mask(bflags, O_APPEND, LINUX_O_APPEND);