X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=devices.c;h=77860d0546a8dcc967da4a71a2e803f91db6f836;hb=000a92b4fa909c432732ac3ed8f28eeeaeac70ee;hp=57c037e23c98121684cb76587f878bca009e6ecf;hpb=832299e099abcf644fb8a7362a9dd18a6a965871;p=petitboot diff --git a/devices.c b/devices.c index 57c037e..77860d0 100644 --- 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)); }