blob: be1301df687c0ed7ca3496a76add40ec280f1a75 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001--- 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));