summaryrefslogtreecommitdiffstats
path: root/lib/types/types.h
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-08-09 16:01:49 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2016-09-08 14:26:27 +1000
commit9f42e56fc5968fcb34edfad017adb73960c2bb61 (patch)
tree1114b3ed7f7fe9b36e1176268e611e69ed31d1f0 /lib/types/types.h
parente4a641a6e3133158b003d19ee285cfc37164cb1f (diff)
downloadtalos-petitboot-9f42e56fc5968fcb34edfad017adb73960c2bb61.tar.gz
talos-petitboot-9f42e56fc5968fcb34edfad017adb73960c2bb61.zip
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 'lib/types/types.h')
-rw-r--r--lib/types/types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/types/types.h b/lib/types/types.h
index 7b9269b..b7430f4 100644
--- a/lib/types/types.h
+++ b/lib/types/types.h
@@ -67,7 +67,7 @@ struct boot_command {
char *dtb_file;
char *boot_args;
char *args_sig_file;
- char *tty;
+ char *console;
};
struct boot_status {
@@ -163,12 +163,12 @@ struct config {
bool allow_writes;
- char *boot_tty;
+ char *boot_console;
char *lang;
/* not user-settable */
- unsigned int n_tty;
- char **tty_list;
+ unsigned int n_consoles;
+ char **consoles;
bool disable_snapshots;
bool safe_mode;
bool debug;
OpenPOWER on IntegriCloud