summaryrefslogtreecommitdiffstats
path: root/stand/powerpc/kboot/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'stand/powerpc/kboot/main.c')
-rw-r--r--stand/powerpc/kboot/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/stand/powerpc/kboot/main.c b/stand/powerpc/kboot/main.c
index 7a24c16..cbd1161 100644
--- a/stand/powerpc/kboot/main.c
+++ b/stand/powerpc/kboot/main.c
@@ -122,7 +122,7 @@ main(int argc, const char **argv)
setenv("loaddev", bootdev, 1);
setenv("LINES", "24", 1);
- interact(NULL); /* doesn't return */
+ interact(); /* doesn't return */
return (0);
}
@@ -130,7 +130,8 @@ main(int argc, const char **argv)
void
exit(int code)
{
- /* XXX: host_exit */
+ while (1); /* XXX: host_exit */
+ __unreachable();
}
void
OpenPOWER on IntegriCloud