]> git.ozlabs.org Git - petitboot/blobdiff - discover/boot.h
types: shorten boot_status definitions
[petitboot] / discover / boot.h
index 2d99b7fb58a5e9de1eedb8444c57bbff4020842f..69643bfb5a58dec46e0735095c754436570011b4 100644 (file)
@@ -7,7 +7,7 @@
 struct boot_option;
 struct boot_command;
 
-typedef void (*boot_status_fn)(void *arg, struct boot_status *);
+typedef void (*boot_status_fn)(void *arg, struct status *);
 
 struct boot_task *boot(void *ctx, struct discover_boot_option *opt,
                struct boot_command *cmd, int dry_run,
@@ -26,7 +26,7 @@ struct boot_task {
        char *local_initrd_override;
        char *local_dtb_override;
        const char *args;
-       const char *boot_tty;
+       const char *boot_console;
        boot_status_fn status_fn;
        void *status_arg;
        bool dry_run;