aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 30f35dc7de..a1c03f290a 100644
--- a/io.c
+++ b/io.c
@@ -3398,6 +3398,6 @@ Init_IO()
rb_file_const("BINARY", INT2FIX(O_BINARY));
#endif
#ifdef O_SYNC
- rb_file_const("BINARY", INT2FIX(O_SYNC));
+ rb_file_const("SYNC", INT2FIX(O_SYNC));
#endif
}