discover/boot: Log boot status updates
authorJeremy Kerr <jk@ozlabs.org>
Wed, 25 Sep 2013 09:04:04 +0000 (17:04 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 26 Sep 2013 07:13:20 +0000 (15:13 +0800)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/boot.c

index ca088dc7673cc58293b0d93062153bd684031e1e..ec6f6e579eb6cb31f8929c1ab140accc9be99b35 100644 (file)
@@ -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);