1
0
Fork 0
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:
Stefan Lankes 2017-05-26 16:47:37 +02:00
commit 3c302578d1

View file

@ -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};