]> git.ipfire.org Git - thirdparty/util-linux.git/commit
agetty: move fakehost to struct agetty_options
authorKarel Zak <kzak@redhat.com>
Thu, 14 May 2026 10:13:39 +0000 (12:13 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 14 May 2026 11:15:33 +0000 (13:15 +0200)
commit0293c3da7ab9add1092e40cd37eb6a49a0dcbd6d
tree540e1e4e1c571cfa0c2504d9982a9c0ff81bd00f
parentff4cf8b0132847bcad7c45ce72cbe99f52561a19
agetty: move fakehost to struct agetty_options

Move the file-scope fakehost variable into struct agetty_options
and drop the separate fakehost parameter from agetty_update_utmp()
and agetty_init_login_argv().

Signed-off-by: Karel Zak <kzak@redhat.com>
agetty-cmd/agetty.c
agetty-cmd/agetty.h
agetty-cmd/utils.c