diff options
author | Russ Cox <rsc@swtch.com> | 2008-11-17 19:48:32 -0800 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2008-11-17 19:48:32 -0800 |
commit | 6bf652ed9c56b15821dc0dc805d9023805ab7ed0 (patch) | |
tree | 3ba6d726fecc212253c108109895a5de1d1104d8 /src/cmd/eqn | |
parent | c6d1c6c617113b73ffa7f5bd8a6f3143518f7f2f (diff) | |
download | plan9port-6bf652ed9c56b15821dc0dc805d9023805ab7ed0.tar.gz plan9port-6bf652ed9c56b15821dc0dc805d9023805ab7ed0.tar.bz2 plan9port-6bf652ed9c56b15821dc0dc805d9023805ab7ed0.zip |
eqn: silence gcc printf warning
Diffstat (limited to 'src/cmd/eqn')
-rw-r--r-- | src/cmd/eqn/input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cmd/eqn/input.c b/src/cmd/eqn/input.c index 4ac61741..a0c0c34e 100644 --- a/src/cmd/eqn/input.c +++ b/src/cmd/eqn/input.c @@ -232,8 +232,7 @@ void error(int die, char *s) if (synerr) return; - fprintf(stderr, "%s: ", cmdname); - fprintf(stderr, s); + fprintf(stderr, "%s: %s", cmdname, s); if (errno > 0) perror("???"); if (curfile->fin) |