diff --git a/src/cmd/5l/list.c b/src/cmd/5l/list.c index a051774b414..7502a3b8186 100644 --- a/src/cmd/5l/list.c +++ b/src/cmd/5l/list.c @@ -473,7 +473,7 @@ Oconv(Fmt *fp) void diag(char *fmt, ...) { - char buf[STRINGSZ], *tn, *sep; + char buf[1024], *tn, *sep; va_list arg; tn = ""; diff --git a/src/cmd/6l/list.c b/src/cmd/6l/list.c index f39efa2e83c..05b23049a0d 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 = ""; diff --git a/src/cmd/8l/list.c b/src/cmd/8l/list.c index 0b544fbce00..e2a2ec5edc7 100644 --- a/src/cmd/8l/list.c +++ b/src/cmd/8l/list.c @@ -356,7 +356,7 @@ Iconv(Fmt *fp) void diag(char *fmt, ...) { - char buf[STRINGSZ], *tn, *sep; + char buf[1024], *tn, *sep; va_list arg; tn = "";