From: Eli Zaretskii Date: Wed, 25 Jan 2012 18:16:14 +0000 (+0000) Subject: function.c (define_new_function): Fix format strings in calls to `fatal'. X-Git-Tag: moved-to-git~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=715a11735f910d69b141c3b851ca1a806907f43f;p=thirdparty%2Fmake.git function.c (define_new_function): Fix format strings in calls to `fatal'. --- diff --git a/ChangeLog b/ChangeLog index 58ce5280..7dbfdb2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-01-25 Eli Zaretskii + + * function.c (define_new_function): Fix format strings in calls to + `fatal'. + 2012-01-17 Paul Smith * guile.c (func_guile): Handle NULL returns from Guile. diff --git a/function.c b/function.c index c387b351..52235db6 100644 --- a/function.c +++ b/function.c @@ -2424,10 +2424,10 @@ define_new_function(const struct floc *flocp, if (len > 255) fatal (flocp, _("Function name too long: %s\n"), name); if (min < 0 || min > 255) - fatal (flocp, _("Invalid minimum argument count (%d) for function %s%s\n"), + fatal (flocp, _("Invalid minimum argument count (%d) for function %s\n"), min, name); if (max < 0 || max > 255 || max < min) - fatal (flocp, _("Invalid maximum argument count (%d) for function %s%s\n"), + fatal (flocp, _("Invalid maximum argument count (%d) for function %s\n"), max, name); ent->name = name;