X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdata-io%2Fdata-writer.c;h=652d522f3e1ab7ad5f8b363d5c06c09a14e29577;hb=efe067379890a29af2b4ad06bf83df7a2eb4d009;hp=9aba2aaf82e3d28835dd7ba600c852c1fc3653bb;hpb=5f168bf8465ae50ba5c2c761b52f29a0500c0658;p=pspp diff --git a/src/language/data-io/data-writer.c b/src/language/data-io/data-writer.c index 9aba2aaf82..652d522f3e 100644 --- a/src/language/data-io/data-writer.c +++ b/src/language/data-io/data-writer.c @@ -54,14 +54,14 @@ dfm_open_writer (struct file_handle *fh) w = *aux = xmalloc (sizeof *w); w->fh = fh; - w->file = fn_open (fh_get_filename (w->fh), "wb"); + w->file = fn_open (fh_get_file_name (w->fh), "wb"); w->bounce = NULL; if (w->file == NULL) { msg (ME, _("An error occurred while opening \"%s\" for writing " "as a data file: %s."), - fh_get_filename (w->fh), strerror (errno)); + fh_get_file_name (w->fh), strerror (errno)); goto error; }