syscall: fix page fault on non-existent syscall
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
parent
9ed457728d
commit
cb288f547e
3 changed files with 8 additions and 3 deletions
|
|
@ -16,6 +16,7 @@ static const char *errno_str[] = {
|
|||
[EFAULT] = "Bad address",
|
||||
[EAGAIN] = "Try again",
|
||||
[EBUSY] = "Device or resource busy",
|
||||
[ENOSYS] = "Function not implemented",
|
||||
};
|
||||
|
||||
inline const char *strerror(int errnum)
|
||||
|
|
|
|||
Loading…
Reference in a new issue