GNU standards require "file name" instead of "filename" in
[pspp-builds.git] / src / language / dictionary / sys-file-info.c
index 1f9bc7e49d7b7830cd4f9e2db6997cd4c97ce821..d3414cb23b82a091922fa495854364e1aaf1027f 100644 (file)
@@ -27,6 +27,7 @@
 #include <data/dictionary.h>
 #include <libpspp/message.h>
 #include <data/file-handle-def.h>
+#include <language/data-io/file-handle.h>
 #include <libpspp/hash.h>
 #include <language/lexer/lexer.h>
 #include <libpspp/magic.h>
@@ -98,7 +99,7 @@ cmd_sysfile_info (void)
   t = tab_create (2, 9, 0);
   tab_vline (t, TAL_GAP, 1, 0, 8);
   tab_text (t, 0, 0, TAB_LEFT, _("File:"));
-  tab_text (t, 1, 0, TAB_LEFT, fh_get_filename (h));
+  tab_text (t, 1, 0, TAB_LEFT, fh_get_file_name (h));
   tab_text (t, 0, 1, TAB_LEFT, _("Label:"));
   {
     const char *label = dict_get_label (d);