aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/os
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/os')
-rw-r--r--libgo/go/os/types.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/os/types.go b/libgo/go/os/types.go
index 01dddf5..0c95c9c 100644
--- a/libgo/go/os/types.go
+++ b/libgo/go/os/types.go
@@ -58,7 +58,7 @@ const (
func (m FileMode) String() string {
const str = "dalTLDpSugct"
- var buf [20]byte
+ var buf [32]byte // Mode is uint32.
w := 0
for i, c := range str {
if m&(1<<uint(32-1-i)) != 0 {