Skip to content
Commit 4b2325ad authored by Andre Przywara's avatar Andre Przywara
Browse files

guest/init: update reboot() call



The reboot() call that guest/init used was an older version, the
manpage talks about libc4 and libc5.
Update it to the current version exported by glibc by using the right
include file and adjusting the parameter.
This also fixed GCC 5.1.0 compile, because linux/reboot.h misses the
actual prototype.

Signed-off-by: Andre Przywara's avatarAndre Przywara <andre.przywara@arm.com>
parent 384ee1e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment