fbuf: New data structure for buffered file I/O.
[pspp] / src / output / msglog.c
index 0d0329571045daa79b48190e3a22b1600250f9c7..dbbff3ee103668714abc880958d47c6142d33bf7 100644 (file)
@@ -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);