Skip to content

Commit

Permalink
add ENOTDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislusf committed Jan 11, 2022
1 parent e037a24 commit fcffb10
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions fuse.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,14 +356,15 @@ const (
const DefaultErrno = EIO

var errnoNames = map[Errno]string{
ENOSYS: "ENOSYS",
ESTALE: "ESTALE",
ENOENT: "ENOENT",
EIO: "EIO",
EPERM: "EPERM",
EINTR: "EINTR",
EEXIST: "EEXIST",
EXDEV: "EXDEV",
ENOSYS: "ENOSYS",
ESTALE: "ESTALE",
ENOENT: "ENOENT",
EIO: "EIO",
EPERM: "EPERM",
EINTR: "EINTR",
EEXIST: "EEXIST",
EXDEV: "EXDEV",
ENOTDIR: "ENOTDIR",
}

// Errno implements Error and ErrorNumber using a syscall.Errno.
Expand Down

0 comments on commit fcffb10

Please sign in to comment.