aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/lineedit.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index bd4a17348..7f26bb8e0 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -1653,7 +1653,12 @@ void FAST_FUNC show_history(const line_input_t *st)
1653 if (!st) 1653 if (!st)
1654 return; 1654 return;
1655 for (i = 0; i < st->cnt_history; i++) 1655 for (i = 0; i < st->cnt_history; i++)
1656#if ENABLE_PLATFORM_MINGW32
1657 /* Upstream erred, a patch has been submitted */
1658 printf("%4d %s\n", i, st->history[i]);
1659#else
1656 fprintf(stderr, "%4d %s\n", i, st->history[i]); 1660 fprintf(stderr, "%4d %s\n", i, st->history[i]);
1661#endif
1657} 1662}
1658 1663
1659# if ENABLE_FEATURE_EDITING_SAVEHISTORY 1664# if ENABLE_FEATURE_EDITING_SAVEHISTORY