summaryrefslogtreecommitdiffhomepage
path: root/pkg/syserror/syserror.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/syserror/syserror.go')
-rw-r--r--pkg/syserror/syserror.go27
1 files changed, 10 insertions, 17 deletions
diff --git a/pkg/syserror/syserror.go b/pkg/syserror/syserror.go
index 7fc6f8a7a..b24edb364 100644
--- a/pkg/syserror/syserror.go
+++ b/pkg/syserror/syserror.go
@@ -26,23 +26,16 @@ import (
// The following variables have the same meaning as their syscall equivalent.
var (
- EEXIST = error(unix.EEXIST)
- EFAULT = error(unix.EFAULT)
- EIDRM = error(unix.EIDRM)
- EINTR = error(unix.EINTR)
- EIO = error(unix.EIO)
- EISDIR = error(unix.EISDIR)
- ENOENT = error(unix.ENOENT)
- ENOEXEC = error(unix.ENOEXEC)
- ENOMEM = error(unix.ENOMEM)
- ENOTSOCK = error(unix.ENOTSOCK)
- ENOSPC = error(unix.ENOSPC)
- ENOSYS = error(unix.ENOSYS)
- ENOTDIR = error(unix.ENOTDIR)
- ENOTTY = error(unix.ENOTTY)
- EOPNOTSUPP = error(unix.EOPNOTSUPP)
- ERANGE = error(unix.ERANGE)
- ESRCH = error(unix.ESRCH)
+ EIDRM = error(unix.EIDRM)
+ EINTR = error(unix.EINTR)
+ EIO = error(unix.EIO)
+ EISDIR = error(unix.EISDIR)
+ ENOENT = error(unix.ENOENT)
+ ENOEXEC = error(unix.ENOEXEC)
+ ENOMEM = error(unix.ENOMEM)
+ ENOTSOCK = error(unix.ENOTSOCK)
+ ENOSPC = error(unix.ENOSPC)
+ ENOSYS = error(unix.ENOSYS)
)
var (