ref: f3055381a9c3a8eda50872aa92d6b22bb7f536a2
parent: 8e60c90fec994d43fd1b4be0c4c15c0381f1e7eb
author: Quentin Rameau <quinq@fifth.space>
date: Sat Mar 4 07:57:45 EST 2017
[libc] fix exit
--- a/libc/src/exit.c
+++ b/libc/src/exit.c
@@ -12,5 +12,5 @@
for (bp = _atexitf; bp < &_atexitf[_ATEXIT_MAX] && *bp; ++bp)
(*bp)();
- _Exit();
+ _Exit(status);
}