diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-08-09 16:01:49 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2016-09-08 14:26:27 +1000 |
commit | 9f42e56fc5968fcb34edfad017adb73960c2bb61 (patch) | |
tree | 1114b3ed7f7fe9b36e1176268e611e69ed31d1f0 /ui/common | |
parent | e4a641a6e3133158b003d19ee285cfc37164cb1f (diff) | |
download | petitboot-9f42e56fc5968fcb34edfad017adb73960c2bb61.zip petitboot-9f42e56fc5968fcb34edfad017adb73960c2bb61.tar.gz |
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 <sam@mendozajonas.com>
Diffstat (limited to 'ui/common')
-rw-r--r-- | ui/common/discover-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |