X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpage-file.c;fp=src%2Fui%2Fgui%2Fpage-file.c;h=3d26b1d473bfeb98fb0ed2eb0b808f61c1fc1a4b;hb=fce028c380d496e42823fd24774e0159ed7cc110;hp=fdbda325f8ffdc0771cfb647a108a6124865874d;hpb=6d0d055e9336d05a3efca53d551eb905bd956e72;p=pspp diff --git a/src/ui/gui/page-file.c b/src/ui/gui/page-file.c index fdbda325f8..3d26b1d473 100644 --- a/src/ui/gui/page-file.c +++ b/src/ui/gui/page-file.c @@ -52,7 +52,6 @@ #include "ui/gui/psppire-scanf.h" #include "ui/syntax-gen.h" -#include "gl/error.h" #include "gl/intprops.h" #include "gl/xalloc.h" @@ -97,8 +96,8 @@ init_file (struct import_assistant *ia, GtkWindow *parent_window) struct line_reader *reader = line_reader_for_file (file->encoding, file->file_name, O_RDONLY); if (reader == NULL) { - msg (ME, _("Could not open `%s': %s"), - file->file_name, strerror (errno)); + msg_error (errno, _("Could not open `%s'"), + file->file_name); return false; }