aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Smelkov <kirr@landau.phys.spbu.ru>2010-06-16 16:51:55 +0400
committerKirill Smelkov <kirr@landau.phys.spbu.ru>2010-06-16 16:51:55 +0400
commit66b54af8ea8a2277e5d6b8a0c1661d42fea4a639 (patch)
tree70b79b3522566fd37e84eeee27110f03908c6bf1
parent87db8b637e3f8a3088f0af1e82fffb0a467afbb4 (diff)
downloadtinycc-66b54af8ea8a2277e5d6b8a0c1661d42fea4a639.tar.gz
tinycc-66b54af8ea8a2277e5d6b8a0c1661d42fea4a639.tar.bz2
tcc: Fix typo in error (it's '%s', not '%s)
-rw-r--r--tcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcc.c b/tcc.c
index d0ed8f6..759151a 100644
--- a/tcc.c
+++ b/tcc.c
@@ -444,7 +444,7 @@ int main(int argc, char **argv)
} else {
s->outfile = fopen(outfile, "w");
if (!s->outfile)
- error("could not open '%s", outfile);
+ error("could not open '%s'", outfile);
}
} else if (output_type != TCC_OUTPUT_MEMORY) {
if (!outfile) {