fbuf: New data structure for buffered file I/O.
[pspp] / utilities / pspp-convert.c
index f21e5bdb8b907cb51a25a331d9311f436fc743e5..ad91ef9da2c937570d3538a4b7eff78baa6ef3e1 100644 (file)
@@ -262,7 +262,7 @@ decrypt_file (struct encrypted_file *enc,
   if (!encrypted_file_unlock (enc, password))
     error (1, 0, _("sorry, wrong password"));
 
-  out = fn_open (ofh, "wb");
+  out = fn_fopen (ofh, "wb");
   if (out == NULL)
     error (1, errno, ("%s: error opening output file"), output_filename);