fbuf: New data structure for buffered file I/O.
[pspp] / src / data / encrypted-file.c
index f1074b4c1d159d4ad805ea9b887f40400114e20f..17b95343c8ab929f1a474405c3ea1b5a13c65ac9 100644 (file)
@@ -70,7 +70,7 @@ encrypted_file_open (struct encrypted_file **fp, const struct file_handle *fh)
 
   f = xmalloc (sizeof *f);
   f->error = 0;
-  f->file = fn_open (fh, "rb");
+  f->file = fn_fopen (fh, "rb");
   if (f->file == NULL)
     {
       msg (ME, _("An error occurred while opening `%s': %s."),