diff options
author | Ken Thompson <ken@golang.org> | 2010-01-27 15:37:46 -0800 |
---|---|---|
committer | Ken Thompson <ken@golang.org> | 2010-01-27 15:37:46 -0800 |
commit | 21373ed9d7df704b4da7a91e57156f69736af3c0 (patch) | |
tree | 238c8ee43237e6386834a9b458f871c801bab9b9 /src/cmd/8c | |
parent | 2a2192d0ae231d582b9170aff8ce96408d86d871 (diff) | |
download | go-21373ed9d7df704b4da7a91e57156f69736af3c0.tar.gz |
change print print buffer size
to go with the full path names
R=rsc
CC=golang-dev
http://codereview.appspot.com/195079
Diffstat (limited to 'src/cmd/8c')
-rw-r--r-- | src/cmd/8c/list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/8c/list.c b/src/cmd/8c/list.c index 3edaa2e1f..6caafd258 100644 --- a/src/cmd/8c/list.c +++ b/src/cmd/8c/list.c @@ -100,7 +100,7 @@ Aconv(Fmt *fp) int Dconv(Fmt *fp) { - char str[40], s[20]; + char str[STRINGSZ], s[STRINGSZ]; Adr *a; int i; @@ -258,7 +258,7 @@ char* regstr[] = int Rconv(Fmt *fp) { - char str[20]; + char str[STRINGSZ]; int r; r = va_arg(fp->args, int); @@ -274,7 +274,7 @@ int Sconv(Fmt *fp) { int i, c; - char str[100], *p, *a; + char str[STRINGSZ], *p, *a; a = va_arg(fp->args, char*); p = str; |