Use 'consoles' instead of 'tty' to refer to interfaces
[petitboot] / ui / common / discover-client.c
index 5dbd99bee70f19d3141d045b85bd12fcf728db26..27bba329dbf0478b273139ab76eb97d33bd22ff6 100644 (file)
@@ -313,7 +313,7 @@ static void create_boot_command(struct boot_command *command,
        command->dtb_file = data->dtb;
        command->boot_args = data->args;
        command->args_sig_file = data->args_sig_file;
-       command->tty = ttyname(STDIN_FILENO);
+       command->console = ttyname(STDIN_FILENO);
 }
 
 int discover_client_boot(struct discover_client *client,