]> git.ozlabs.org Git - petitboot/blobdiff - devices.c
Print ststus message when booting
[petitboot] / devices.c
index 57c037e23c98121684cb76587f878bca009e6ecf..77860d0546a8dcc967da4a71a2e803f91db6f836 100644 (file)
--- a/devices.c
+++ b/devices.c
@@ -308,6 +308,6 @@ void pboot_exec_option(void *data)
        fflush(stdout);
 
        execv(kexec_opts[0], kexec_opts);
-
-       LOG("kexec failed: %s", strerror(errno));
+       pboot_message("kexec failed: %s", strerror(errno));
+       LOG("execv() failed: %s", strerror(errno));
 }