Commit b73b43ea authored by Russ Cox's avatar Russ Cox

6l, 8l: make string buffer big enough for 8 chars (and then some)

Fixes #221.

R=ken2
https://golang.org/cl/165086
parent 86c0c54d
......@@ -361,7 +361,7 @@ int
Sconv(Fmt *fp)
{
int i, c;
char str[30], *p, *a;
char str[100], *p, *a;
a = va_arg(fp->args, char*);
p = str;
......
......@@ -275,7 +275,7 @@ int
Sconv(Fmt *fp)
{
int i, c;
char str[30], *p, *a;
char str[100], *p, *a;
a = va_arg(fp->args, char*);
p = str;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment