blob: 6497fb41603fb9fac48b5e6dc1de72adfe1b82e2 [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---
6 kexec/kexec.c | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9diff --git a/kexec/kexec.c b/kexec/kexec.c
10index 157c577..5da0d67 100644
Brad Bishop19323692019-04-05 15:28:33 -040011--- a/kexec/kexec.c
12+++ b/kexec/kexec.c
13@@ -901,7 +901,7 @@ static int my_exec(void)
14 if (xen_present())
15 xen_kexec_exec();
16 else
17- reboot(LINUX_REBOOT_CMD_KEXEC);
18+ reboot(LINUX_REBOOT_CMD_KEXEC, NULL);
19 /* I have failed if I make it here */
20 fprintf(stderr, "kexec failed: %s\n",
21 strerror(errno));