* groff-font.c (font_msg): Use err_vmsg() instead of incorrectly
[pspp-builds.git] / src / groff-font.c
index a46559cab104c3d0e148fa26e2c0342e45cab62f..e5811ef40de411a824d048d2d77b6a030e969f66 100644 (file)
@@ -392,10 +392,15 @@ lose:
 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;