Switch getc to also use fast_syscall.

This commit is contained in:
Danila Fedorin 2019-04-25 17:26:16 -07:00
parent 3449b8c566
commit 74b1c2c69d

View File

@ -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