X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgroff-font.c;h=e5811ef40de411a824d048d2d77b6a030e969f66;hb=6ac27d1da3fdebee275343fcf7b6625fc1f1da79;hp=a46559cab104c3d0e148fa26e2c0342e45cab62f;hpb=3417680e253b1bfc4519347ef06536378026be2a;p=pspp diff --git a/src/groff-font.c b/src/groff-font.c index a46559cab1..e5811ef40d 100644 --- a/src/groff-font.c +++ b/src/groff-font.c @@ -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;