1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

(scm_wrong_type_arg): Do not talk about "argument" for

pos == 0.
This commit is contained in:
Marius Vollmer 2004-10-04 18:52:35 +00:00
parent aef0bdb420
commit 83e1ab6ddf

View file

@ -228,7 +228,7 @@ scm_wrong_type_arg (const char *subr, int pos, SCM bad_value)
{
scm_error (scm_arg_type_key,
subr,
(pos == 0) ? "Wrong type argument: ~S"
(pos == 0) ? "Wrong type: ~S"
: "Wrong type argument in position ~A: ~S",
(pos == 0) ? scm_list_1 (bad_value)
: scm_list_2 (scm_from_int (pos), bad_value),