summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ls.c b/src/ls.c
index 46b771b36..d61266a89 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -72,6 +72,7 @@
#include "xstrtol.h"
#include "strverscmp.h"
#include "quotearg.h"
+#include "filemode.h"
#define obstack_chunk_alloc malloc
#define obstack_chunk_free free
@@ -132,8 +133,6 @@ struct bin_str
time_t time ();
#endif
-void mode_string ();
-
char *getgroup ();
char *getuser ();
void strip_trailing_slashes ();
@@ -2183,6 +2182,7 @@ print_long_format (const struct fileinfo *f)
char *user_name;
#if HAVE_ST_DM_MODE
+ /* Cray DMF: look at the file's migrated, not real, status */
mode_string (f->stat.st_dm_mode, modebuf);
#else
mode_string (f->stat.st_mode, modebuf);