authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-10-15 16:47:29-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-10-15 16:47:29-04:00
logfaf64b5d0fa53a4fcc5ac24aa2aada502937808b
tree3ca74e70ca9faedfbefad62d7aa6420cf5aee5ee
parentfcef7c4bb2f8705774b9d53c8f81a8e74cbcb630

fix posix from previous commit


1 files changed, 1 insertions(+), 1 deletions(-)

std/os/index.zig+1-1
...@@ -1432,7 +1432,7 @@ const unexpected_error_tracing = false;...@@ -1432,7 +1432,7 @@ const unexpected_error_tracing = false;
14321432
1433/// Call this when you made a syscall or something that sets errno1433/// Call this when you made a syscall or something that sets errno
1434/// and you get an unexpected error.1434/// and you get an unexpected error.
1435pub fn unexpectedErrorPosix(errno: c_int) -> error {1435pub fn unexpectedErrorPosix(errno: usize) -> error {
1436 if (unexpected_error_tracing) {1436 if (unexpected_error_tracing) {
1437 io.stderr.printf("unexpected errno: {}\n", errno) %% return;1437 io.stderr.printf("unexpected errno: {}\n", errno) %% return;
1438 debug.printStackTrace() %% return;1438 debug.printStackTrace() %% return;