X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fhtml.c;h=cf9b2da3c11cc8077850fd6c5aeabd085b38beed;hb=fce028c380d496e42823fd24774e0159ed7cc110;hp=29a44721d455ae3f0336e1f95d52610e9c5df1c1;hpb=6d0d055e9336d05a3efca53d551eb905bd956e72;p=pspp diff --git a/src/output/html.c b/src/output/html.c index 29a44721d4..cf9b2da3c1 100644 --- a/src/output/html.c +++ b/src/output/html.c @@ -39,7 +39,6 @@ #include "output/table-item.h" #include "output/text-item.h" -#include "error.h" #include "xalloc.h" #include "gettext.h" @@ -106,7 +105,7 @@ html_create (const char *file_name, enum settings_output_devices device_type, html->file = fn_open (html->file_name, "w"); if (html->file == NULL) { - error (0, errno, _("error opening output file `%s'"), html->file_name); + msg_error (errno, _("error opening output file `%s'"), html->file_name); goto error; }