fbuf: New data structure for buffered file I/O.
[pspp] / src / output / html.c
index 38b89719a443095bf3456437a05b81bb6f6c450d..618db2795c203eabe22c15f5b5faef99852ceace 100644 (file)
@@ -109,7 +109,7 @@ html_create (struct file_handle *fh, enum settings_output_devices device_type,
   parse_color (d, o, "background-color", "#FFFFFFFFFFFF", &html->bg);
   parse_color (d, o, "foreground-color", "#000000000000", &html->fg);
 #endif
-  html->file = fn_open (html->handle, "w");
+  html->file = fn_fopen (html->handle, "w");
   if (html->file == NULL)
     {
       msg_error (errno, _("error opening output file `%s'"), fh_get_file_name (html->handle));