X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fmsglog.c;h=dbbff3ee103668714abc880958d47c6142d33bf7;hb=refs%2Fheads%2Ffbuf;hp=0d0329571045daa79b48190e3a22b1600250f9c7;hpb=3db83b515247dca69abbf7ad05d3dbdfec4b524c;p=pspp diff --git a/src/output/msglog.c b/src/output/msglog.c index 0d03295710..dbbff3ee10 100644 --- a/src/output/msglog.c +++ b/src/output/msglog.c @@ -63,7 +63,7 @@ msglog_create (const char *file_name) struct file_handle *handle = fh_create_file (NULL, file_name, NULL, fh_default_properties ()); - file = fn_open (handle, "w"); + file = fn_fopen (handle, "w"); if (file == NULL) { msg_error (errno, _("error opening output file `%s'"), file_name);