replace_file_start: remove parameter TMP_FILE
[pspp] / src / data / por-file-writer.c
index 7a3c971dec614e92091bcabfb54c41439780c8b7..3a4e88e7f0cb6e5c6b5a545340e00f8168d7723d 100644 (file)
@@ -154,7 +154,7 @@ pfm_open_writer (struct file_handle *fh, struct dictionary *dict,
   if (opts.create_writeable)
     mode |= 0222;
   w->rf = replace_file_start (fh, "w", mode,
-                              &w->file, NULL);
+                              &w->file);
   if (w->rf == NULL)
     {
       msg (ME, _("Error opening `%s' for writing as a portable file: %s."),