Kaynağa Gözat

Fixed an error in function naming in os_linux

Zac Pierson 8 yıl önce
ebeveyn
işleme
802b1a70f8
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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) {