diff options
Diffstat (limited to 'stdlib/exit.c')
-rw-r--r-- | stdlib/exit.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/stdlib/exit.c b/stdlib/exit.c index 5714999117..b2ebe5ff85 100644 --- a/stdlib/exit.c +++ b/stdlib/exit.c @@ -57,10 +57,7 @@ exit (int status) (*f->func.at) (); break; case ef_cxa: - (*f->func.cxa.fn) (f->func.cxa.arg); - break; - case ef_cxa2: - (*f->func.cxa2.fn) (status, f->func.cxa2.arg); + (*f->func.cxa.fn) (f->func.cxa.arg, status); break; } } |