aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-05-21 21:25:41 -0500
committerRob Landley <rob@landley.net>2015-05-21 21:25:41 -0500
commita65a7f4241f1cc9b4963a285e3a2137cffae62ad (patch)
treed8960c88a12cf2c97d52be5cd1e1b3e58c75d98c /toys
parent9bd401379dec9777e2412dbd4b60a615be66cffd (diff)
downloadtoybox-a65a7f4241f1cc9b4963a285e3a2137cffae62ad.tar.gz
ls -lZ wasn't putting a space before the xattr output.
Diffstat (limited to 'toys')
-rw-r--r--toys/posix/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/ls.c b/toys/posix/ls.c
index 6429ce60..15796ff1 100644
--- a/toys/posix/ls.c
+++ b/toys/posix/ls.c
@@ -438,7 +438,7 @@ static void listfiles(int dirfd, struct dirtree *indir)
usr, upad, grp, grpad);
if (flags & FLAG_Z)
- printf("%*s ", -(int)totals[7], (char *)sort[next]->extra);
+ printf(" %*s ", -(int)totals[7], (char *)sort[next]->extra);
if (S_ISCHR(st->st_mode) || S_ISBLK(st->st_mode))
printf("% *d,% 4d", totals[5]-4, major(st->st_rdev),minor(st->st_rdev));