Skip to content

Commit

Permalink
fix error code name (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
vrischmann authored Jun 9, 2022
1 parent 4f5d78b commit d9892d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/async_io_uring.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ pub const Statx = struct {
pub fn convertError(linux_err: os.E) ?Error {
// Copied from std.os.preadv.
return switch (linux_err) {
.ACCESS => error.AccessDenied,
.ACCES => error.AccessDenied,
// fd is not a valid open file descriptor.
.BADF => unreachable,
// path or buf is NULL or points to a location outside the
Expand Down

0 comments on commit d9892d9

Please sign in to comment.