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.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/syscall/errstr_linux.go b/src/lib/syscall/errstr_linux.go
index df1f87e3e..2a6a5b813 100644
--- a/src/lib/syscall/errstr_linux.go
+++ b/src/lib/syscall/errstr_linux.go
@@ -4,7 +4,7 @@
package syscall
-export const (
+const (
ENONE=0;
EPERM=1;
ENOENT=2;
@@ -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 {
+func Errstr(errno int64) string {
if errno < 0 || errno >= len(error) {
return "Error " + str(errno)
}