summaryrefslogtreecommitdiffstats
path: root/bin/ls/print.c
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2012-11-08 23:45:19 +0000
committergrog <grog@FreeBSD.org>2012-11-08 23:45:19 +0000
commitd5943d9209bea666b189f541ac3a5d3cd02083ff (patch)
treef7685da3d8aebfc5f5dbcbb449d3cc1281e3b0d5 /bin/ls/print.c
parent9f61746f5a7c133c4334b42306477cf36abda421 (diff)
downloadFreeBSD-src-d5943d9209bea666b189f541ac3a5d3cd02083ff.zip
FreeBSD-src-d5943d9209bea666b189f541ac3a5d3cd02083ff.tar.gz
Replace spaces with tabs where appropriate.
Reminded by: jh@
Diffstat (limited to 'bin/ls/print.c')
-rw-r--r--bin/ls/print.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/ls/print.c b/bin/ls/print.c
index 335d0e9..89faf6c 100644
--- a/bin/ls/print.c
+++ b/bin/ls/print.c
@@ -160,7 +160,7 @@ printlong(const DISPLAY *dp)
strmode(sp->st_mode, buf);
aclmode(buf, p);
np = p->fts_pointer;
- (void)printf("%s %*u %-*s %-*s ", buf, dp->s_nlink,
+ (void)printf("%s %*u %-*s %-*s ", buf, dp->s_nlink,
sp->st_nlink, dp->s_user, np->user, dp->s_group,
np->group);
if (f_flags)
@@ -382,7 +382,7 @@ printtime(time_t ftime)
format = d_first ? "%e %b %R" : "%b %e %R";
else
/* mmm dd yyyy || dd mmm yyyy */
- format = d_first ? "%e %b %Y" : "%b %e %Y";
+ format = d_first ? "%e %b %Y" : "%b %e %Y";
strftime(longstring, sizeof(longstring), format, localtime(&ftime));
fputs(longstring, stdout);
fputc(' ', stdout);
@@ -606,11 +606,11 @@ printsize(size_t width, off_t bytes)
humanize_number(buf, sizeof(buf), (int64_t)bytes, "",
HN_AUTOSCALE, HN_B | HN_NOSPACE | HN_DECIMAL);
(void)printf("%*s ", (u_int)width, buf);
- } else if (f_thousands) { /* with commas */
+ } else if (f_thousands) { /* with commas */
/* This format assignment needed to work round gcc bug. */
- const char *format = "%*j'd ";
+ const char *format = "%*j'd ";
(void)printf(format, (u_int)width, bytes);
- } else
+ } else
(void)printf("%*jd ", (u_int)width, bytes);
}
OpenPOWER on IntegriCloud