summaryrefslogtreecommitdiff
path: root/com32/hdt/hdt-cli.c
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-11-25 23:10:34 +0100
committerErwan Velu <erwan.velu@free.fr>2009-12-04 10:11:13 +0100
commit584a12c6981a020af5a6d9a4155ce8feffb94235 (patch)
treef71efa45f0c3ba5b4874230782c5b580f860b104 /com32/hdt/hdt-cli.c
parent0d4242b4410c708004d743243555b62680a69acd (diff)
downloadsyslinux-584a12c6981a020af5a6d9a4155ce8feffb94235.tar.gz
hdt: Adding history command
Impact: new command 'history' This command allow to see the content of the history
Diffstat (limited to 'com32/hdt/hdt-cli.c')
-rw-r--r--com32/hdt/hdt-cli.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c
index 1a6997a1..7a710a10 100644
--- a/com32/hdt/hdt-cli.c
+++ b/com32/hdt/hdt-cli.c
@@ -782,7 +782,6 @@ void start_auto_mode(struct s_hardware *hardware)
void print_history()
{
- printf("History\n");
for (int i = 1; i < MAX_HISTORY_SIZE - 1; i++) {
if (i == hdt_cli.history_pos) {
printf("*%d:'%s'\n", i, hdt_cli.history[i]);