Skip to content

Commit

Permalink
[#10] Display code in _Exit()
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Jan 11, 2022
1 parent db2bf6c commit 7264cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdlib/exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void __attribute__ ((noreturn)) exit (int code)

void __attribute__ ((weak, noreturn)) _Exit (int code)
{
trace_printf ("%s()\n", __func__);
trace_printf ("%s(%d)\n", __func__, code);

// Print some statistics about memory use.
micro_os_plus_terminate_goodbye ();
Expand Down

0 comments on commit 7264cf0

Please sign in to comment.