From 74b1c2c69d7f60924299d9e45204158fa293ed7a Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Thu, 25 Apr 2019 17:26:16 -0700 Subject: [PATCH] Switch getc to also use fast_syscall. --- lib/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/syscall.c b/lib/syscall.c index 08d7654..b7772d2 100644 --- a/lib/syscall.c +++ b/lib/syscall.c @@ -61,7 +61,7 @@ sys_cputs(const char *s, size_t len) int sys_cgetc(void) { - return syscall(SYS_cgetc, 0, 0, 0, 0, 0, 0); + return fast_syscall(SYS_cgetc, 0, 0, 0, 0); } int