summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-04-19 06:33:33 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-04-19 06:33:33 -0700
commit3c95703b632f3ef4fb9327cb6a580a08629453a2 (patch)
tree1d5d720075d5300b6862c625daaf5a9b0087571d
parentdd15f9af726b56462fcf243f72bf4a44a10e6762 (diff)
downloadtxr-3c95703b632f3ef4fb9327cb6a580a08629453a2.tar.gz
txr-3c95703b632f3ef4fb9327cb6a580a08629453a2.tar.bz2
txr-3c95703b632f3ef4fb9327cb6a580a08629453a2.zip
Incorrect format args in string stream code.
* stream.c (string_in_unget_char): Missing argument in uw_throwf call.
-rw-r--r--stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream.c b/stream.c
index b4d9555e..6b234e22 100644
--- a/stream.c
+++ b/stream.c
@@ -1566,7 +1566,7 @@ static val string_in_unget_char(val stream, val ch)
if (chr_str(s->string, pos) != ch)
uw_throwf(file_error_s,
lit("unget-char: ~s doesn't match the character that was read"),
- nao);
+ ch, nao);
set(mkloc(s->pos, stream), pos);
return ch;