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 | 1a91b9a8a9b118536db775e215c09091fd72c35f (patch) | |
| tree | 439b4a96dbf9a16e0d4dc2e5ede96343c18a4a07 /src/lib/syscall/errstr_linux.go | |
| parent | 5d41f55accddb6a8f0cd672dc27dae9e0779fdfe (diff) | |
| download | go-1a91b9a8a9b118536db775e215c09091fd72c35f.tar.xz | |
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_linux.go')
| -rw-r--r-- | src/lib/syscall/errstr_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/syscall/errstr_linux.go b/src/lib/syscall/errstr_linux.go index 20b46f28fa..df1f87e3ef 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) } |
