From: Jeremy Kerr Date: Wed, 25 Sep 2013 09:04:04 +0000 (+0800) Subject: discover/boot: Log boot status updates X-Git-Tag: v1.0.0~417 X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=98f2640cd6778362bb600abc7ea3bd3922a9f9e4 discover/boot: Log boot status updates Signed-off-by: Jeremy Kerr --- diff --git a/discover/boot.c b/discover/boot.c index ca088dc..ec6f6e5 100644 --- a/discover/boot.c +++ b/discover/boot.c @@ -135,6 +135,8 @@ static void __attribute__((format(__printf__, 4, 5))) update_status( status.progress = -1; status.detail = NULL; + pb_debug("boot status: [%d] %s\n", type, status.message); + fn(arg, &status); talloc_free(status.message);