diff --git a/bin/ls/print.c b/bin/ls/print.c index ec4deb519a00..e55fa5f0ba7d 100644 --- a/bin/ls/print.c +++ b/bin/ls/print.c @@ -247,7 +247,7 @@ printcol(dp) * column number will be incremented incorrectly * for "stty oxtabs" mode. */ - if (f_color) + if (f_color && !f_notabs) while ((cnt = (chcnt + 1)) <= endcol) { (void)putchar(' '); chcnt = cnt;