projects
/
platform
/
upstream
/
toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bd4013
)
ls -lZ wasn't putting a space before the xattr output.
author
Rob Landley
<rob@landley.net>
Fri, 22 May 2015 02:25:41 +0000
(21:25 -0500)
committer
Rob Landley
<rob@landley.net>
Fri, 22 May 2015 02:25:41 +0000
(21:25 -0500)
toys/posix/ls.c
patch
|
blob
|
history
diff --git
a/toys/posix/ls.c
b/toys/posix/ls.c
index
6429ce6
..
15796ff
100644
(file)
--- 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));