diff options
author | Rob Pike <r@golang.org> | 2009-01-16 11:36:44 -0800 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-01-16 11:36:44 -0800 |
commit | 272bd52ee862a8d2d4594f1b2304a89e9666db60 (patch) | |
tree | 439b4a96dbf9a16e0d4dc2e5ede96343c18a4a07 /src/lib/syscall/errstr_darwin.go | |
parent | b480e90a0efe366a2c1dc9467e98244e4cd6bacb (diff) | |
download | golang-272bd52ee862a8d2d4594f1b2304a89e9666db60.tar.gz |
casify syscall and sequelae
R=rsc
DELTA=337 (0 added, 1 deleted, 336 changed)
OCL=22950
CL=22950
Diffstat (limited to 'src/lib/syscall/errstr_darwin.go')
-rw-r--r-- | src/lib/syscall/errstr_darwin.go | 2 |
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) } |