summaryrefslogtreecommitdiffstats
path: root/usr.bin/col/col.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/col/col.c')
-rw-r--r--usr.bin/col/col.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/col/col.c b/usr.bin/col/col.c
index 7dcebff..c6a8feb 100644
--- a/usr.bin/col/col.c
+++ b/usr.bin/col/col.c
@@ -397,7 +397,7 @@ void
flush_line(LINE *l)
{
CHAR *c, *endc;
- int i, nchars, last_col, this_col;
+ int j, nchars, last_col, this_col;
last_col = 0;
nchars = l->l_line_len;
@@ -493,7 +493,7 @@ flush_line(LINE *l)
}
PUTC(c->c_char);
if ((c + 1) < endc)
- for (i = 0; i < c->c_width; i++)
+ for (j = 0; j < c->c_width; j++)
PUTC('\b');
if (++c >= endc)
break;
OpenPOWER on IntegriCloud