From 2af52e0724d791c1bc364bddaada5c87b4d510f8 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 5 Apr 2008 21:26:25 +0000 Subject: [PATCH] Turn a tab into a space. This fixes a misalignment for ls -l. Tabs Noticed by: Antoine Brodin --- bin/ls/print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ls/print.c b/bin/ls/print.c index 479b772b39d3..4825d2e1052f 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);