From 7207b2fe45bcf884e029366a2677a570234bed2e Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Thu, 21 Jul 2016 18:04:57 +0200 Subject: [PATCH] gpgscm: Make error message more useful. * tests/gpgscm/scheme.c (opexe_0): Include names of missing function parameters in the error message. Signed-off-by: Justus Winter --- tests/gpgscm/scheme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gpgscm/scheme.c b/tests/gpgscm/scheme.c index 0a7620521..987f5af7d 100644 --- a/tests/gpgscm/scheme.c +++ b/tests/gpgscm/scheme.c @@ -2743,7 +2743,7 @@ static pointer opexe_0(scheme *sc, enum scheme_opcodes op) { for (x = car(closure_code(sc->code)), y = sc->args; is_pair(x); x = cdr(x), y = cdr(y)) { if (y == sc->NIL) { - Error_0(sc,"not enough arguments"); + Error_1(sc, "not enough arguments, missing:", x); } else { new_slot_in_env(sc, car(x), car(y)); }