Fixed an error in function naming in os_linux

This commit is contained in:
Zac Pierson
2017-02-15 11:20:11 -06:00
parent aaa4dd5c36
commit 802b1a70f8

View File

@@ -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) {