diff options
author | Marius Vollmer <mvo@zagadka.de> | 2004-10-04 18:52:35 +0000 |
---|---|---|
committer | Marius Vollmer <mvo@zagadka.de> | 2004-10-04 18:52:35 +0000 |
commit | 83e1ab6ddf36d2384880f9cb4cf9f78f9c357be6 (patch) | |
tree | bb13ac6aae2010e8bac06fa701593742c87db29c /libguile/error.c | |
parent | aef0bdb42074d471d98708ebb773d7cf9d0b9aaf (diff) | |
download | guile-83e1ab6ddf36d2384880f9cb4cf9f78f9c357be6.tar.gz |
(scm_wrong_type_arg): Do not talk about "argument" for
pos == 0.
Diffstat (limited to 'libguile/error.c')
-rw-r--r-- | libguile/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/error.c b/libguile/error.c index e202844f6..d67e74d1a 100644 --- a/libguile/error.c +++ b/libguile/error.c @@ -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), |