mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 12:59:04 +00:00
fix posix from previous commit
This commit is contained in:
parent
fcef7c4bb2
commit
faf64b5d0f
@ -1432,7 +1432,7 @@ const unexpected_error_tracing = false;
|
||||
|
||||
/// Call this when you made a syscall or something that sets errno
|
||||
/// and you get an unexpected error.
|
||||
pub fn unexpectedErrorPosix(errno: c_int) -> error {
|
||||
pub fn unexpectedErrorPosix(errno: usize) -> error {
|
||||
if (unexpected_error_tracing) {
|
||||
io.stderr.printf("unexpected errno: {}\n", errno) %% return;
|
||||
debug.printStackTrace() %% return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user