Przeglądaj źródła

Merge pull request #5298 from slowhei/master

Added missing parameter to `gettimeofday`
Jeroen van Rijn 3 miesięcy temu
rodzic
commit
0be7fe4b82
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      core/sys/linux/sys.odin

+ 1 - 1
core/sys/linux/sys.odin

@@ -1413,7 +1413,7 @@ umask :: proc "contextless" (mask: Mode) -> Mode {
 	Available since Linux 1.0.
 */
 gettimeofday :: proc "contextless" (tv: ^Time_Val) -> (Errno) {
-	ret := syscall(SYS_gettimeofday, tv)
+	ret := syscall(SYS_gettimeofday, tv, nil)
 	return Errno(-ret)
 }