]> git.ipfire.org Git - thirdparty/util-linux.git/commit
agetty: resolve tty name even if stdin is specified
authortamz <totemz@protonmail.com>
Thu, 6 Jan 2022 10:56:58 +0000 (11:56 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 6 Jan 2022 10:56:58 +0000 (11:56 +0100)
commit47831cc02ac0d71c335caecef1753f4c8861277c
tree75587211371313a7f7af5755ae6442e87519defc
parenta10b48c8492bcfc5242866c756769477d27a2584
agetty: resolve tty name even if stdin is specified

[kzak@redhat.com: - use "const" for options->tty (and friends)
                    as expected by get_terminal_name()]

Addresses: https://github.com/util-linux/util-linux/issues/1546
Signed-off-by: tamz <totemz@protonmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/agetty.c