diff options
Diffstat (limited to 'libgloss/riscv/sys_exit.c')
-rw-r--r-- | libgloss/riscv/sys_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/riscv/sys_exit.c b/libgloss/riscv/sys_exit.c index 03e1c34..995dd65 100644 --- a/libgloss/riscv/sys_exit.c +++ b/libgloss/riscv/sys_exit.c @@ -5,6 +5,6 @@ void _exit(int exit_status) { - syscall_errno (SYS_exit, exit_status, 0, 0, 0, 0, 0); + syscall_errno (SYS_exit, 1, exit_status, 0, 0, 0, 0, 0); while (1); } |