diff options
-rw-r--r-- | libbb/lineedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 314fedf5c..151208c1c 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -1463,7 +1463,7 @@ void FAST_FUNC show_history(const line_input_t *st) | |||
1463 | if (!st) | 1463 | if (!st) |
1464 | return; | 1464 | return; |
1465 | for (i = 0; i < st->cnt_history; i++) | 1465 | for (i = 0; i < st->cnt_history; i++) |
1466 | fprintf(stderr, "%4d %s\n", i, st->history[i]); | 1466 | printf("%4d %s\n", i, st->history[i]); |
1467 | } | 1467 | } |
1468 | 1468 | ||
1469 | # if ENABLE_FEATURE_EDITING_SAVEHISTORY | 1469 | # if ENABLE_FEATURE_EDITING_SAVEHISTORY |