diff options
author | Richard Braun <rbraun@sceen.net> | 2017-06-10 17:24:04 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-06-10 17:38:47 +0200 |
commit | b719ffa6583447ff933fbcf21274b376133cb992 (patch) | |
tree | 4bd7aaf9767dea632a1338041f0c6fdd0624f867 /kern/console.c | |
parent | 562904ff8e2f5e40e4be76dc7c4d919a4bda05f8 (diff) |
Use log functions where appropriate
Diffstat (limited to 'kern/console.c')
-rw-r--r-- | kern/console.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kern/console.c b/kern/console.c index fef4f654..bee400e0 100644 --- a/kern/console.c +++ b/kern/console.c @@ -18,7 +18,6 @@ #include <assert.h> #include <stdbool.h> #include <stddef.h> -#include <stdio.h> #include <string.h> #include <kern/arg.h> @@ -26,6 +25,7 @@ #include <kern/init.h> #include <kern/console.h> #include <kern/list.h> +#include <kern/log.h> #include <kern/mutex.h> #include <kern/spinlock.h> #include <kern/thread.h> @@ -128,10 +128,10 @@ console_register(struct console *console) console_dev = console; } - printf("console: %s registered\n", console->name); + log_info("console: %s registered", console->name); if (console == console_dev) { - printf("console: %s selected as active console\n", console->name); + log_info("console: %s selected as active console", console->name); } } |