summaryrefslogtreecommitdiff
path: root/src/lib/syscall/errstr_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/syscall/errstr_linux.go')
-rw-r--r--src/lib/syscall/errstr_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/syscall/errstr_linux.go b/src/lib/syscall/errstr_linux.go
index 20b46f28f..df1f87e3e 100644
--- a/src/lib/syscall/errstr_linux.go
+++ b/src/lib/syscall/errstr_linux.go
@@ -284,7 +284,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)
}