From a65a7f4241f1cc9b4963a285e3a2137cffae62ad Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 21 May 2015 21:25:41 -0500 Subject: ls -lZ wasn't putting a space before the xattr output. --- toys/posix/ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/posix/ls.c') 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)); -- cgit v1.2.3