Skip to content

Commit faf64b5

Browse files
committed
fix posix from previous commit
1 parent fcef7c4 commit faf64b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

std/os/index.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1432,7 +1432,7 @@ const unexpected_error_tracing = false;
14321432

14331433
/// Call this when you made a syscall or something that sets errno
14341434
/// and you get an unexpected error.
1435-
pub fn unexpectedErrorPosix(errno: c_int) -> error {
1435+
pub fn unexpectedErrorPosix(errno: usize) -> error {
14361436
if (unexpected_error_tracing) {
14371437
io.stderr.printf("unexpected errno: {}\n", errno) %% return;
14381438
debug.printStackTrace() %% return;

0 commit comments

Comments
 (0)