summaryrefslogtreecommitdiff
path: root/src/lib/syscall/errstr_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/syscall/errstr_darwin.go')
-rw-r--r--src/lib/syscall/errstr_darwin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/syscall/errstr_darwin.go b/src/lib/syscall/errstr_darwin.go
index 8d62f74e8..65f970b67 100644
--- a/src/lib/syscall/errstr_darwin.go
+++ b/src/lib/syscall/errstr_darwin.go
@@ -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 {
+export func Errstr(errno int64) string {
if errno < 0 || errno >= len(error) {
return "Error " + str(errno)
}