Skip to content

Commit

Permalink
MIPS: Set ENOSYS to errno on illegal system call number for syscall(2)
Browse files Browse the repository at this point in the history
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Oct 27, 2008
1 parent bda8229 commit fb498e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/kernel/scall32-o32.S
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ bad_alignment:
jr t2
/* Unreached */

einval: li v0, -EINVAL
einval: li v0, -ENOSYS
jr ra
END(sys_syscall)

Expand Down

0 comments on commit fb498e2

Please sign in to comment.