Commit 8f0f5c3f authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Define EREMOTEIO as linux specific errno code

parent 5bb69a7d
......@@ -34,9 +34,6 @@ const (
// EIO I/O error
EIO = Status(syscall.EIO)
// EREMOTEIO Remote I/O error
EREMOTEIO = Status(syscall.EREMOTEIO)
// ENOENT No such file or directory
ENOENT = Status(syscall.ENOENT)
......
......@@ -10,6 +10,9 @@ import (
const (
ENOATTR = Status(syscall.ENOATTR) // ENOATTR is not defined for all GOOS.
// EREMOTEIO is not supported on Darwin.
EREMOTEIO = Status(syscall.EIO)
)
type Attr struct {
......
......@@ -10,6 +10,9 @@ import (
const (
ENOATTR = Status(syscall.ENODATA) // On Linux, ENOATTR is an alias for ENODATA.
// EREMOTEIO Remote I/O error
EREMOTEIO = Status(syscall.EREMOTEIO)
)
type Attr struct {
......
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