]> git.ozlabs.org Git - petitboot/blobdiff - discover/boot.c
discover/pxe-parser: Recognise plugin sources
[petitboot] / discover / boot.c
index 5347fd7c1d45bbfbe748deaa12b44cdb2c4d930c..fab4b61cd681d4a3aac00464641936029388e4e2 100644 (file)
@@ -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);