summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/ls/ls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ls/ls.c b/bin/ls/ls.c
index d506065..5d88e38 100644
--- a/bin/ls/ls.c
+++ b/bin/ls/ls.c
@@ -486,7 +486,8 @@ display(FTSENT *p, FTSENT *list)
size_t flen, ulen, glen;
char *initmax;
int entries, needstats;
- char *user, *group, *flags, *lattr = NULL;
+ const char *user, *group;
+ char *flags, *lattr = NULL;
char buf[STRBUF_SIZEOF(u_quad_t) + 1];
char ngroup[STRBUF_SIZEOF(uid_t) + 1];
char nuser[STRBUF_SIZEOF(gid_t) + 1];
OpenPOWER on IntegriCloud