aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/grap
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2020-01-12 15:05:40 -0500
committerRuss Cox <rsc@swtch.com>2020-01-12 15:07:42 -0500
commitfafa622a5bdf71adfbb4334541c3b65f29c89ca9 (patch)
tree189d86fb978b151ddf2f303f9c4efab196d79f17 /src/cmd/grap
parentfa325e9b42b0bdfb48857d1958d9fb7ceac55151 (diff)
downloadplan9port-fafa622a5bdf71adfbb4334541c3b65f29c89ca9.tar.gz
plan9port-fafa622a5bdf71adfbb4334541c3b65f29c89ca9.tar.bz2
plan9port-fafa622a5bdf71adfbb4334541c3b65f29c89ca9.zip
all: fix or silence various gcc warnings
As usual, gcc finds some real problems but also reports a ton of noise. Fix the problems and quiet the noise.
Diffstat (limited to 'src/cmd/grap')
-rw-r--r--src/cmd/grap/coord.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/grap/coord.c b/src/cmd/grap/coord.c
index 72f0fc3a..ea640458 100644
--- a/src/cmd/grap/coord.c
+++ b/src/cmd/grap/coord.c
@@ -35,7 +35,7 @@ void coordlog(int n) /* remember log scaling */
void coord(Obj *p) /* set coord range */
{
- static char buf[10];
+ static char buf[20];
ncoord++;
if (ncoord > 1 && strcmp(p->name, dflt_coord) == 0) {