summaryrefslogtreecommitdiff
path: root/src/cmd/6c/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/6c/list.c')
-rw-r--r--src/cmd/6c/list.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/6c/list.c b/src/cmd/6c/list.c
index 64afe79fe..ba517ca0a 100644
--- a/src/cmd/6c/list.c
+++ b/src/cmd/6c/list.c
@@ -111,7 +111,7 @@ Aconv(Fmt *fp)
int
Dconv(Fmt *fp)
{
- char str[40], s[20];
+ char str[STRINGSZ], s[STRINGSZ];
Adr *a;
int i;
@@ -337,7 +337,7 @@ char* regstr[] =
int
Rconv(Fmt *fp)
{
- char str[20];
+ char str[STRINGSZ];
int r;
r = va_arg(fp->args, int);
@@ -353,7 +353,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;