X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fsys-file-writer.c;h=05d42b080ea9152ae280f6b2ccc327f87a551608;hb=55178119a1dd305b7e0c3254cf5b6ddf6784e34f;hp=0f970190d4733fb8dd763370653c5717a738ae03;hpb=40214686362e348692b4b6bd05ed5522189525c0;p=pspp diff --git a/src/data/sys-file-writer.c b/src/data/sys-file-writer.c index 0f970190d4..05d42b080e 100644 --- a/src/data/sys-file-writer.c +++ b/src/data/sys-file-writer.c @@ -33,7 +33,6 @@ #include "data/casewriter.h" #include "data/dictionary.h" #include "data/file-handle-def.h" -#include "data/file-name.h" #include "data/format.h" #include "data/make-file.h" #include "data/missing-values.h" @@ -251,7 +250,7 @@ sfm_open_writer (struct file_handle *fh, struct dictionary *d, mode = 0444; if (opts.create_writeable) mode |= 0222; - w->rf = replace_file_start (fh, "wb", mode, &w->file, NULL); + w->rf = replace_file_start (fh, "wb", mode, &w->file); if (w->rf == NULL) { msg (ME, _("Error opening `%s' for writing as a system file: %s."),