diff --git a/lib/std/os.zig b/lib/std/os.zig index 0ee20d7c8e..5df2c441cd 100644 --- a/lib/std/os.zig +++ b/lib/std/os.zig @@ -1244,6 +1244,7 @@ pub fn openatZ(dir_fd: fd_t, file_path: [*:0]const u8, flags: u32, mode: mode_t) EFAULT => unreachable, EINVAL => unreachable, + EBADF => unreachable, EACCES => return error.AccessDenied, EFBIG => return error.FileTooBig, EOVERFLOW => return error.FileTooBig,