mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
Merge branch 'devel'
This commit is contained in:
commit
3c302578d1
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ typedef struct {
|
|||
void NORETURN sys_exit(int arg)
|
||||
{
|
||||
if (is_uhyve()) {
|
||||
uhyve_send(UHYVE_PORT_EXIT, (unsigned) (size_t) &arg);
|
||||
uhyve_send(UHYVE_PORT_EXIT, (unsigned) virt_to_phys((size_t) &arg));
|
||||
} else {
|
||||
sys_exit_t sysargs = {__NR_exit, arg};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue