]> git.ozlabs.org Git - petitboot/blobdiff - discover/boot.c
discover/paths: Add stdout callback parameter for load_url_async()
[petitboot] / discover / boot.c
index 5347fd7c1d45bbfbe748deaa12b44cdb2c4d930c..da7b946fcbb2dc2628b7df892fa4b752fca81a4c 100644 (file)
@@ -522,7 +522,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);