From b719ffa6583447ff933fbcf21274b376133cb992 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Sat, 10 Jun 2017 17:24:04 +0200 Subject: Use log functions where appropriate --- kern/shell.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'kern/shell.c') diff --git a/kern/shell.c b/kern/shell.c index 38f29912..c526b311 100644 --- a/kern/shell.c +++ b/kern/shell.c @@ -20,8 +20,9 @@ #include #include -#include #include +#include +#include #include #include #include @@ -445,7 +446,7 @@ shell_cmd_add(struct shell_cmd *cmd) for (;;) { if (strcmp(cmd->name, tmp->name) == 0) { - printf("shell: %s: shell command name collision", cmd->name); + log_err("shell: %s: shell command name collision", cmd->name); return ERROR_EXIST; } -- cgit v1.2.3