Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 1 | From 9c99b0748dd0ea1aaf3836378ee75fa5af099a19 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 15 Mar 2019 00:22:40 -0700 |
| 4 | |
| 5 | --- |
| 6 | kexec/kexec.c | 2 +- |
| 7 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 8 | |
| 9 | diff --git a/kexec/kexec.c b/kexec/kexec.c |
| 10 | index 157c577..5da0d67 100644 |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 11 | --- 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)); |