+Sat Jul 30 23:13:17 2005 Ben Pfaff <blp@gnu.org>
+
+ * expressions/parse.c: (validate_function_args) Fix two msg() bugs
+ found by -Wformat.
+
Sat Jul 30 23:10:01 2005 Ben Pfaff <blp@gnu.org>
- * epxressions/evaluate.c: (expr_debug_print_postfix) Don't pass
+ * expressions/evaluate.c: (expr_debug_print_postfix) Don't pass
null pointer to printf for %.*s.
Sat Jul 30 23:05:33 2005 Ben Pfaff <blp@gnu.org>
{
assert ((f->flags & OPF_MIN_VALID) == 0);
msg (SE, _("%s function does not accept a minimum valid "
- "argument count."));
+ "argument count."), f->prototype);
return false;
}
else
if (array_arg_cnt < f->array_min_elems)
{
msg (SE, _("%s requires at least %d valid arguments in list."),
- f->prototype);
+ f->prototype, f->array_min_elems);
return false;
}
else if (min_valid > array_arg_cnt)