Skip to content

Commit

Permalink
fix #23
Browse files Browse the repository at this point in the history
  • Loading branch information
esm-tmori committed Nov 6, 2020
1 parent 0357150 commit d141701
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/device/peripheral/athrill_syscall_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,12 @@ static void athrill_syscall_exit(AthrillSyscallArgType *arg)
{
sys_int32 status = arg->body.api_exit.status;
printf("athrill exit(%d)\n", status);
exit(status);
sync();
sync();
sync();
sync();
sync();
exit(status);
arg->ret_value = SYS_API_ERR_OK;
return;
}

0 comments on commit d141701

Please sign in to comment.