2
0
Эх сурвалжийг харах

Fixed an error in function naming in os_linux

Zac Pierson 8 жил өмнө
parent
commit
802b1a70f8
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      core/os_linux.odin

+ 1 - 1
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) {