summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-04-05 21:26:25 +0000
committerimp <imp@FreeBSD.org>2008-04-05 21:26:25 +0000
commit095f4ce1afdd99c334817fadce80268038ff1655 (patch)
treeffe7b586fbfa12c8174a563bf72847c99e9e6c3c /bin
parent68917b32fca7c4871a80f02ad2267d079fb6d63e (diff)
downloadFreeBSD-src-095f4ce1afdd99c334817fadce80268038ff1655.zip
FreeBSD-src-095f4ce1afdd99c334817fadce80268038ff1655.tar.gz
Turn a tab into a space. This fixes a misalignment for ls -l.
Tabs Noticed by: Antoine Brodin
Diffstat (limited to 'bin')
-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 479b772..4825d2e 100644
--- a/bin/ls/print.c
+++ b/bin/ls/print.c
@@ -168,7 +168,7 @@ printlong(const DISPLAY *dp)
prevdev = sp->st_dev;
}
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)
@@ -388,7 +388,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