diff --git a/mach/minix/libsys/LIST b/mach/minix/libsys/LIST index 48159c1c3..baa746b13 100644 --- a/mach/minix/libsys/LIST +++ b/mach/minix/libsys/LIST @@ -15,6 +15,7 @@ dup.c dup2.c exec.c exit.c +_exit.c cleanup.c fork.c fstat.c diff --git a/mach/minix/libsys/exit.c b/mach/minix/libsys/exit.c index 4b1face92..1e603bda0 100644 --- a/mach/minix/libsys/exit.c +++ b/mach/minix/libsys/exit.c @@ -4,5 +4,5 @@ PUBLIC int exit(status) int status; { _cleanup(); - return callm1(MM, EXIT, status, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR); + _exit(status); } diff --git a/mach/minixST/libsys/exit.c b/mach/minixST/libsys/exit.c index 4b1face92..1e603bda0 100644 --- a/mach/minixST/libsys/exit.c +++ b/mach/minixST/libsys/exit.c @@ -4,5 +4,5 @@ PUBLIC int exit(status) int status; { _cleanup(); - return callm1(MM, EXIT, status, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR); + _exit(status); }