aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/hdt/hdt-cli.c')
-rw-r--r--com32/hdt/hdt-cli.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c
index 18c023d9..82b5d833 100644
--- a/com32/hdt/hdt-cli.c
+++ b/com32/hdt/hdt-cli.c
@@ -138,9 +138,9 @@ void set_mode(cli_mode_t mode, struct s_hardware* hardware)
break;
default:
/* Invalid mode */
- printf("Unknown mode, please choose among:\n");
+ more_printf("Unknown mode, please choose among:\n");
for (i = 0; i < MAX_MODES; i++)
- printf("\t%s\n", list_modes[i]->name);
+ more_printf("\t%s\n", list_modes[i]->name);
}
}
@@ -376,7 +376,7 @@ static void exec_command(char *line,
find_cli_mode_descr(hdt_cli.mode, &current_mode);
if (current_mode == NULL) {
/* Shouldn't get here... */
- printf("!!! BUG: Mode '%s' unknown.\n", hdt_cli.mode);
+ more_printf("!!! BUG: Mode '%s' unknown.\n", hdt_cli.mode);
return;
}
@@ -475,7 +475,7 @@ static void reset_prompt()
{
/* No need to display the prompt if we exit */
if (hdt_cli.mode != EXIT_MODE) {
- printf("%s", hdt_cli.prompt);
+ more_printf("%s", hdt_cli.prompt);
/* Reset the line */
memset(hdt_cli.input, '\0', MAX_LINE_SIZE);
hdt_cli.cursor_pos = 0;
@@ -498,7 +498,7 @@ void start_cli_mode(struct s_hardware *hardware)
set_mode(HDT_MODE, hardware);
- printf("Entering CLI mode\n");
+ more_printf("Entering CLI mode\n");
/* Display the cursor */
fputs("\033[?25h", stdout);