mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-11-25 04:35:44 +00:00
function.c (define_new_function): Fix format strings in calls to `fatal'.
This commit is contained in:
parent
89f7058b99
commit
715a11735f
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-01-25 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* function.c (define_new_function): Fix format strings in calls to
|
||||
`fatal'.
|
||||
|
||||
2012-01-17 Paul Smith <psmith@gnu.org>
|
||||
|
||||
* guile.c (func_guile): Handle NULL returns from Guile.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue