summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-09-25 17:04:04 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-09-26 15:13:20 +0800
commit98f2640cd6778362bb600abc7ea3bd3922a9f9e4 (patch)
tree2123793ff3a14ad5602c5f294c41a283189850ca
parenta7c41a2339e0ed4bfd0954c2238eca8bc866a66c (diff)
downloadpetitboot-98f2640cd6778362bb600abc7ea3bd3922a9f9e4.zip
petitboot-98f2640cd6778362bb600abc7ea3bd3922a9f9e4.tar.gz
discover/boot: Log boot status updates
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r--discover/boot.c2
1 files changed, 2 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud