aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-04-19 20:21:12 +0200
committerErwan Velu <erwan.velu@free.fr>2009-04-19 20:21:12 +0200
commit272c28d921ee807dc4c20634873af4b64765cacf (patch)
treebdf35b5851ad1ceef66e919a2dd25bae106cd1aa
parent8c2c87c8df15d47f2f657b3c93cff4e85cbb7728 (diff)
downloadsyslinux.git-272c28d921ee807dc4c20634873af4b64765cacf.tar.gz
syslinux.git-272c28d921ee807dc4c20634873af4b64765cacf.tar.xz
syslinux.git-272c28d921ee807dc4c20634873af4b64765cacf.zip
hdt: removing useless more_printf
Impact: improving user experience hdt>show modes was using more_printf. This is pretty useless and annoying for users.
-rw-r--r--com32/hdt/hdt-cli-hdt.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/com32/hdt/hdt-cli-hdt.c b/com32/hdt/hdt-cli-hdt.c
index abbfe446..8b92e939 100644
--- a/com32/hdt/hdt-cli-hdt.c
+++ b/com32/hdt/hdt-cli-hdt.c
@@ -54,7 +54,7 @@ static void main_show_modes(int argc __unused, char** argv __unused,
printf("Available modes:\n");
for (i = 0; i < MAX_MODES; i++)
- more_printf("\t%s\n", list_modes[i]->name);
+ printf("\t%s\n", list_modes[i]->name);
}
/**
@@ -119,10 +119,10 @@ static void show_cli_help(int argc __unused, char** argv __unused,
/* List first default modules of the mode */
if (current_mode->default_modules != NULL ) {
for (j = 0; j < current_mode->default_modules->nb_modules; j++) {
- more_printf("%s ",
+ printf("%s ",
current_mode->default_modules->modules[j].name);
}
- more_printf("\n");
+ printf("\n");
}
/* List secondly the show modules of the mode */
@@ -130,7 +130,7 @@ static void show_cli_help(int argc __unused, char** argv __unused,
current_mode->show_modules->nb_modules != 0) {
printf("show commands:\n");
for (j = 0; j < current_mode->show_modules->nb_modules; j++)
- more_printf("\t%s\n",
+ printf("\t%s\n",
current_mode->show_modules->modules[j].name);
}
@@ -139,7 +139,7 @@ static void show_cli_help(int argc __unused, char** argv __unused,
current_mode->set_modules->nb_modules != 0) {
printf("set commands:\n");
for (j = 0; j < current_mode->set_modules->nb_modules; j++)
- more_printf("\t%s\n",
+ printf("\t%s\n",
current_mode->set_modules->modules[j].name);
}