trying to pass a va_list to tmsg(). Thanks to Jason Stover for
reporting this bug.
+Mon Oct 24 21:35:08 2005 Ben Pfaff <blp@gnu.org>
+
+ * groff-font.c (font_msg): Use err_vmsg() instead of incorrectly
+ trying to pass a va_list to tmsg(). Thanks to Jason Stover for
+ reporting this bug.
+
Mon Oct 24 21:24:15 2005 Ben Pfaff <blp@gnu.org>
Work to get rid of GCC 4.0 warnings, part 2.
static int
font_msg (int class, const char *format,...)
{
+ struct error error;
va_list args;
+ error.class = class;
+ err_location (&error.where);
+ error.title = _("installation error: Groff font error: ");
+
va_start (args, format);
- tmsg (class, format, args, _("installation error: Groff font error: "));
+ err_vmsg (&error, format, args);
va_end (args);
return 0;