Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- lib/readline.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/readline.c b/lib/readline.c index b82150e..b90de77 100644 --- a/lib/readline.c +++ b/lib/readline.c @@ -120,10 +120,10 @@ static char* hist_next(void) #define ERASE_TO_EOL() { \ if (num < eol_num) { \ - int tmp; \ - for (tmp = num; tmp < eol_num; tmp++) \ + int t; \ + for (t = num; t < eol_num; t++) \ getcmd_putch(' '); \ - while (tmp-- > num) \ + while (t-- > num) \ getcmd_putch(CTL_BACKSPACE); \ eol_num = num; \ } \ -- 1.7.2.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox