MIPS: Set ENOSYS to errno on illegal system call number for syscall(2)
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
bda8229bdd
commit
fb498e2570
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ bad_alignment:
|
|||
jr t2
|
||||
/* Unreached */
|
||||
|
||||
einval: li v0, -EINVAL
|
||||
einval: li v0, -ENOSYS
|
||||
jr ra
|
||||
END(sys_syscall)
|
||||
|
||||
|
|
Loading…
Reference in a new issue