summaryrefslogtreecommitdiff
path: root/libgo/go/os/error_plan9.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/os/error_plan9.go')
-rw-r--r--libgo/go/os/error_plan9.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgo/go/os/error_plan9.go b/libgo/go/os/error_plan9.go
index d6575864e84..3374775b8e7 100644
--- a/libgo/go/os/error_plan9.go
+++ b/libgo/go/os/error_plan9.go
@@ -37,12 +37,15 @@ var (
Enonexist = NewError("file does not exist")
Eexist = NewError("file already exists")
Eio = NewError("i/o error")
+ Eperm = NewError("permission denied")
EINVAL = Ebadarg
ENOTDIR = Enotdir
ENOENT = Enonexist
EEXIST = Eexist
EIO = Eio
+ EACCES = Eperm
+ EISDIR = syscall.EISDIR
ENAMETOOLONG = NewError("file name too long")
ERANGE = NewError("math result not representable")