X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fodt.c;h=2bf1f2956e47a8e498ce4d0e2be17da1a4529b76;hb=b5f23499ac67aa4988617c5fb89397d4f81bea50;hp=a02506c1e9eeacbae9528aa663e55044e8194055;hpb=7b51bc9abbb6ed4a34cf396883d1dc8479b1e554;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; }