Fix "undeclared 'ut'" error by replacing it with 'utx'

This commit is contained in:
Pavel Miadzvedzeu 2024-04-24 10:19:56 +03:00 committed by Damien Miller
parent 67f684733f
commit 49e64bf63f
No known key found for this signature in database

View File

@ -1015,7 +1015,7 @@ utmpx_perform_login(struct logininfo *li)
return (0);
}
# else
if (!utmpx_write_direct(li, &ut)) {
if (!utmpx_write_direct(li, &utx)) {
logit("%s: utmp_write_direct() failed", __func__);
return (0);
}