blob: 1c58e92b35bb61d809ab7dbf13711957de426cde [file] [log] [blame]
Brad Bishop26bdd442019-08-16 17:08:17 -04001From 9c99b0748dd0ea1aaf3836378ee75fa5af099a19 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 15 Mar 2019 00:22:40 -0700
4
5---
Patrick Williams520786c2023-06-25 16:20:36 -05006Upstream-Status: Pending
7
Brad Bishop26bdd442019-08-16 17:08:17 -04008 kexec/kexec.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/kexec/kexec.c b/kexec/kexec.c
12index 157c577..5da0d67 100644
Brad Bishop19323692019-04-05 15:28:33 -040013--- a/kexec/kexec.c
14+++ b/kexec/kexec.c
15@@ -901,7 +901,7 @@ static int my_exec(void)
16 if (xen_present())
17 xen_kexec_exec();
18 else
19- reboot(LINUX_REBOOT_CMD_KEXEC);
20+ reboot(LINUX_REBOOT_CMD_KEXEC, NULL);
21 /* I have failed if I make it here */
22 fprintf(stderr, "kexec failed: %s\n",
23 strerror(errno));