diff options
Diffstat (limited to 'kern/console.c')
-rw-r--r-- | kern/console.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/console.c b/kern/console.c index 0ed54b5e..a9a0f5d0 100644 --- a/kern/console.c +++ b/kern/console.c @@ -16,13 +16,13 @@ */ #include <assert.h> +#include <errno.h> #include <stdbool.h> #include <stddef.h> #include <stdio.h> #include <string.h> #include <kern/arg.h> -#include <kern/error.h> #include <kern/init.h> #include <kern/console.h> #include <kern/list.h> @@ -76,7 +76,7 @@ console_process_ctrl_char(struct console *console, char c) case CONSOLE_SCROLL_DOWN: break; default: - return ERROR_INVAL; + return EINVAL; } console->ops->putc(console, c); |