eqn: silence gcc printf warning

This commit is contained in:
Russ Cox 2008-11-17 19:48:32 -08:00
parent c6d1c6c617
commit 6bf652ed9c

View file

@ -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)