X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fboot.c;h=fab4b61cd681d4a3aac00464641936029388e4e2;hp=5347fd7c1d45bbfbe748deaa12b44cdb2c4d930c;hb=37feda62bd2835eabc779d275301a9b763521f7a;hpb=454f924bbcda7904c4348ef45c3d0d293768a48c diff --git a/discover/boot.c b/discover/boot.c index 5347fd7..fab4b61 100644 --- a/discover/boot.c +++ b/discover/boot.c @@ -45,6 +45,7 @@ static void __attribute__((format(__printf__, 4, 5))) update_status( va_end(ap); status.type = type; + status.backlog = false; pb_debug("boot status: [%d] %s\n", type, status.message); @@ -522,7 +523,8 @@ static int start_url_load(struct boot_task *task, const char *name, if (!url) return 0; - *result = load_url_async(task, url, boot_process, task); + *result = load_url_async(task, url, boot_process, task, NULL, + task->status_arg); if (!*result) { update_status(task->status_fn, task->status_arg, STATUS_ERROR, _("Error loading %s"), name);