use con_puts instead of con_printf.

This commit is contained in:
Bradley Bell 2015-04-25 13:20:39 -07:00
parent 3a550e124d
commit 70cf799a6a

View file

@ -429,7 +429,7 @@ static void cmd_echo(int argc, char **argv)
strncat(buf, " ", sizeof(buf) - strlen(buf) - 1); strncat(buf, " ", sizeof(buf) - strlen(buf) - 1);
strncat(buf, argv[i], sizeof(buf) - strlen(buf) - 1); strncat(buf, argv[i], sizeof(buf) - strlen(buf) - 1);
} }
con_printf(CON_NORMAL, "%s", buf); con_puts(CON_NORMAL, buf);
} }
/* execute script */ /* execute script */
@ -507,7 +507,7 @@ static void cmd_help(int argc, char **argv)
return; return;
} }
con_printf(CON_NORMAL, "%s", cmd->help_text); con_puts(CON_NORMAL, cmd->help_text);
} }