summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-06-26 07:13:13 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-06-26 07:13:13 -0700
commitc2a3e0ebc198739b77bdfb30194ad17b309333af (patch)
tree3d7285a006c455cc520f3b191c8bd83dff5e8170 /lib.c
parent3dbaecd359c584e1bcf650cdf53fb35253599e15 (diff)
downloadtxr-c2a3e0ebc198739b77bdfb30194ad17b309333af.tar.gz
txr-c2a3e0ebc198739b77bdfb30194ad17b309333af.tar.bz2
txr-c2a3e0ebc198739b77bdfb30194ad17b309333af.zip
* lib.c (search): Bugfix in type mismatch error message:
trying to print cons function pointer as value.
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index 422396f0..197a89fb 100644
--- a/lib.c
+++ b/lib.c
@@ -5498,7 +5498,7 @@ val search(val seq, val key, val testfun, val keyfun)
/* TODO: optimize me */
return search_list(seq, key, testfun, keyfun);
default:
- type_mismatch(lit("search: ~s is not a sequence"), cons, nao);
+ type_mismatch(lit("search: ~s is not a sequence"), seq, nao);
}
return seq;