summaryrefslogtreecommitdiff
path: root/src/cmd/6l/list.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2013-07-11 22:49:15 -0400
committerRuss Cox <rsc@golang.org>2013-07-11 22:49:15 -0400
commit7706ce42feadc8cea189117f369a38e0f5a03648 (patch)
tree67a2679f08a9a696c7a7b2a765ac6b933c403800 /src/cmd/6l/list.c
parente2230084abc20782bee7fe7a3b7035a0476dbc31 (diff)
downloadgo-7706ce42feadc8cea189117f369a38e0f5a03648.tar.gz
cmd/5l, cmd/6l, cmd/8l: increase error buffer size
STRINGSZ (200) is fine for lines generated by things like instruction dumps, but an error containing a couple file names can easily exceed that, especially on Macs with the ridiculous default $TMPDIR. R=ken2 CC=golang-dev https://codereview.appspot.com/11199043
Diffstat (limited to 'src/cmd/6l/list.c')
-rw-r--r--src/cmd/6l/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/6l/list.c b/src/cmd/6l/list.c
index f39efa2e8..05b23049a 100644
--- a/src/cmd/6l/list.c
+++ b/src/cmd/6l/list.c
@@ -423,7 +423,7 @@ Iconv(Fmt *fp)
void
diag(char *fmt, ...)
{
- char buf[STRINGSZ], *tn, *sep;
+ char buf[1024], *tn, *sep;
va_list arg;
tn = "";