| ... | @@ -1432,7 +1432,7 @@ const unexpected_error_tracing = false; | ... | @@ -1432,7 +1432,7 @@ const unexpected_error_tracing = false; |
| 1432 | | 1432 | |
| 1433 | /// Call this when you made a syscall or something that sets errno | 1433 | /// 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. |
| 1435 | pub fn unexpectedErrorPosix(errno: c_int) -> error { | 1435 | pub 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; |