Commit 3936f28c authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Really catch EBADF errors: fix cut&paste bug in definition of EBADF.

parent 3354ee0e
...@@ -52,7 +52,7 @@ const ( ...@@ -52,7 +52,7 @@ const (
EPERM = Status(syscall.EPERM) EPERM = Status(syscall.EPERM)
ERANGE = Status(syscall.ERANGE) ERANGE = Status(syscall.ERANGE)
EXDEV = Status(syscall.EXDEV) EXDEV = Status(syscall.EXDEV)
EBADF = Status(syscall.EXDEV) EBADF = Status(syscall.EBADF)
) )
type NotifyCode int type NotifyCode int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment