1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 06:20:23 +02:00

(scm_resolv_error): don't cause an exception while

trying to throw an exception -- call scm_misc_error with correct
arguments.  The previous arguments needed a format escape that
wasn't in any of the format strings.
This commit is contained in:
Rob Browning 2004-08-07 03:48:17 +00:00
parent a00eaf19f8
commit 63ce14e776

View file

@ -110,7 +110,7 @@ static void scm_resolv_error (const char *subr, SCM bad_value)
#ifdef HAVE_HSTRERROR
errmsg = (const char *) hstrerror (h_errno);
#endif
scm_error (key, subr, errmsg, scm_cons (bad_value, SCM_EOL), SCM_EOL);
scm_error (key, subr, errmsg, SCM_BOOL_F, SCM_EOL);
}
}