X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fodt.c;h=2bf1f2956e47a8e498ce4d0e2be17da1a4529b76;hb=fce028c380d496e42823fd24774e0159ed7cc110;hp=a02506c1e9eeacbae9528aa663e55044e8194055;hpb=6d0d055e9336d05a3efca53d551eb905bd956e72;p=pspp diff --git a/src/output/odt.c b/src/output/odt.c index a02506c1e9..2bf1f2956e 100644 --- a/src/output/odt.c +++ b/src/output/odt.c @@ -31,6 +31,7 @@ #include "libpspp/assertion.h" #include "libpspp/cast.h" +#include "libpspp/message.h" #include "libpspp/str.h" #include "libpspp/temp-file.h" #include "libpspp/version.h" @@ -44,7 +45,6 @@ #include "output/text-item.h" #include "gl/xalloc.h" -#include "gl/error.h" #include "gettext.h" #define _(msgid) gettext (msgid) @@ -91,7 +91,7 @@ create_mimetype (struct zip_writer *zip) fp = create_temp_file (); if (fp == NULL) { - error (0, errno, _("error creating temporary file")); + msg_error (errno, _("error creating temporary file")); return false; }