add unsupported check in process test

This commit is contained in:
Laytan committed 2024-10-04 13:24:24 +02:00
1 parent 563ed69c28
commit 64508e477b
2 files changed
+8

No files matched your search

+2
View File
@@ -162,6 +162,8 @@ _get_platform_error :: proc(errno: linux.Errno) -> Error {
return .Invalid_File
case .ENOMEM:
return .Out_Of_Memory
case .ENOSYS:
return .Unsupported
}
return Platform_Error(i32(errno))