shithub: scc

Download patch

ref: a9a164fa5ed865bd5cbb9eac45b7a09b60e09812
parent: 63c625229ddae2be9785f8c9a0e4e5c5d2a6cb6c
author: Quentin Rameau <[email protected]>
date: Thu Mar 9 07:22:54 EST 2017

[libc] Fix typo in exit.c

--- a/libc/src/exit.c
+++ b/libc/src/exit.c
@@ -10,6 +10,6 @@
 exit(int status)
 {
 	while (_exitn > 0)
-		(*_exitf[--exitn])();
+		(*_exitf[--_exitn])();
 	_Exit(status);
 }