X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fpor-file-writer.c;h=3a4e88e7f0cb6e5c6b5a545340e00f8168d7723d;hb=ab003a1ebf553431c6a7d31c21a383fcc47c5e71;hp=7a3c971dec614e92091bcabfb54c41439780c8b7;hpb=40214686362e348692b4b6bd05ed5522189525c0;p=pspp diff --git a/src/data/por-file-writer.c b/src/data/por-file-writer.c index 7a3c971dec..3a4e88e7f0 100644 --- a/src/data/por-file-writer.c +++ b/src/data/por-file-writer.c @@ -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."),