Message type for PM_EXIT

Change-Id: Ie78768d95358a701268129587074a48493cf5bbc
This commit is contained in:
2014-07-28 17:05:42 +02:00
parent f88b0001ba
commit 6495d409d6
4 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ int status;
message m;
memset(&m, 0, sizeof(m));
m.PM_EXIT_STATUS = status;
m.m_lc_pm_exit.status = status;
_syscall(PM_PROC_NR, PM_EXIT, &m);
/* If exiting nicely through PM fails for some reason, try to