diff options
Diffstat (limited to 'src/pkg/syscall/str.go')
-rw-r--r-- | src/pkg/syscall/str.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/syscall/str.go b/src/pkg/syscall/str.go index 12f0c7d60..0fce842e8 100644 --- a/src/pkg/syscall/str.go +++ b/src/pkg/syscall/str.go @@ -4,9 +4,9 @@ package syscall -func str(val int) string { // do it here rather than with fmt to avoid dependency +func itoa(val int) string { // do it here rather than with fmt to avoid dependency if val < 0 { - return "-" + str(-val) + return "-" + itoa(-val) } var buf [32]byte // big enough for int64 i := len(buf) - 1 |