summaryrefslogtreecommitdiffstats
path: root/bin/ls/print.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2012-11-09 20:19:56 +0000
committerpeter <peter@FreeBSD.org>2012-11-09 20:19:56 +0000
commit0a19b1f1d4c316b4e1f36b1a3d99c8d8d3d4db97 (patch)
treeff71cef9a970b055c77d5b5d53e3d839a262c197 /bin/ls/print.c
parentb71b1dcf10941dcc438f95f3cd8e2e7f6acd5fb0 (diff)
downloadFreeBSD-src-0a19b1f1d4c316b4e1f36b1a3d99c8d8d3d4db97.zip
FreeBSD-src-0a19b1f1d4c316b4e1f36b1a3d99c8d8d3d4db97.tar.gz
Undo over-aggressive conversion of spaces to tabs. ie: those within
format strings, "period, space, space" in comment text, etc.
Diffstat (limited to 'bin/ls/print.c')
-rw-r--r--bin/ls/print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ls/print.c b/bin/ls/print.c
index 89faf6c..930d6ea 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);
OpenPOWER on IntegriCloud