From 9f42e56fc5968fcb34edfad017adb73960c2bb61 Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Tue, 9 Aug 2016 16:01:49 +1000 Subject: Use 'consoles' instead of 'tty' to refer to interfaces 'Console' is more readily understandable and technically more correct than 'tty' for referring to the interfaces that Petitboot starts a UI on. Signed-off-by: Samuel Mendoza-Jonas --- ui/common/discover-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/common') diff --git a/ui/common/discover-client.c b/ui/common/discover-client.c index 5dbd99b..27bba32 100644 --- a/ui/common/discover-client.c +++ b/ui/common/discover-client.c @@ -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, -- cgit v1.2.1