]> git.ipfire.org Git - thirdparty/shadow.git/commit
utmp: update `update_utmp()`
authorIker Pedrosa <ipedrosa@redhat.com>
Wed, 19 Jul 2023 07:42:35 +0000 (09:42 +0200)
committerSerge Hallyn <serge@hallyn.com>
Wed, 2 Aug 2023 15:13:28 +0000 (10:13 -0500)
commit1f368e1c1838de9d476a36897d7c53394569de08
tree9857105fd294a0586a517cbee13d146e5f4ee75e
parent6b7108e347f35db04cf21024868ee0482c5090be
utmp: update `update_utmp()`

Remove `utmp` structure as an argument and include its logic inside the
function. This will help remove any reference to utmp from login.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
lib/prototypes.h
libmisc/utmp.c
src/login.c