]> git.ozlabs.org Git - petitboot/blobdiff - ui/common/discover-client.c
Consolidate petitboot,tty and petitboot,console
[petitboot] / ui / common / discover-client.c
index 6247dd0471b6b5fa6f8247adb68f872297eb6c52..27bba329dbf0478b273139ab76eb97d33bd22ff6 100644 (file)
@@ -312,7 +312,8 @@ static void create_boot_command(struct boot_command *command,
        command->initrd_file = data->initrd;
        command->dtb_file = data->dtb;
        command->boot_args = data->args;
-       command->tty = ttyname(STDIN_FILENO);
+       command->args_sig_file = data->args_sig_file;
+       command->console = ttyname(STDIN_FILENO);
 }
 
 int discover_client_boot(struct discover_client *client,