aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Pierson <zacpiersonhehe@gmail.com>2017-02-15 11:20:11 -0600
committerZac Pierson <zacpiersonhehe@gmail.com>2017-02-15 11:20:11 -0600
commit802b1a70f881968f4e96eb8bbec9f072b4de2892 (patch)
tree73a9fc8548bbdcfe37fc79250447302a6476f33c
parentaaa4dd5c363f2cb4643cd6489108d5be7c9d17de (diff)
Fixed an error in function naming in os_linux
-rw-r--r--core/os_linux.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os_linux.odin b/core/os_linux.odin
index f0d9efca1..5d1d6c98d 100644
--- a/core/os_linux.odin
+++ b/core/os_linux.odin
@@ -82,7 +82,7 @@ open_simple :: proc(path: string, mode: int) -> (Handle, Errno) {
}
// NOTE(zangent): This is here for compatability reasons. Should this be here?
open :: proc(path: string, mode: int, perm: u32) -> (Handle, Errno) {
- return open(path, mode);
+ return open_simple(path, mode);
}
close :: proc(fd: Handle) {