Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 1 | --- a/kexec/kexec.c |
2 | +++ b/kexec/kexec.c | ||||
3 | @@ -901,7 +901,7 @@ static int my_exec(void) | ||||
4 | if (xen_present()) | ||||
5 | xen_kexec_exec(); | ||||
6 | else | ||||
7 | - reboot(LINUX_REBOOT_CMD_KEXEC); | ||||
8 | + reboot(LINUX_REBOOT_CMD_KEXEC, NULL); | ||||
9 | /* I have failed if I make it here */ | ||||
10 | fprintf(stderr, "kexec failed: %s\n", | ||||
11 | strerror(errno)); |