diff options
Diffstat (limited to 'src/lib/syscall/errstr_darwin.go')
-rw-r--r-- | src/lib/syscall/errstr_darwin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/syscall/errstr_darwin.go b/src/lib/syscall/errstr_darwin.go index 65f970b67..780ce71b1 100644 --- a/src/lib/syscall/errstr_darwin.go +++ b/src/lib/syscall/errstr_darwin.go @@ -4,7 +4,7 @@ package syscall -export const ( +const ( ENONE=0; EPERM=1; ENOENT=2; @@ -234,7 +234,7 @@ func str(val int64) string { // do it here rather than with fmt to avoid depend return string(buf)[i:len(buf)]; } -export func Errstr(errno int64) string { +func Errstr(errno int64) string { if errno < 0 || errno >= len(error) { return "Error " + str(errno) } |