From 49e64bf63fbf2f14961062dafe8ef08cb816bb08 Mon Sep 17 00:00:00 2001 From: Pavel Miadzvedzeu Date: Wed, 24 Apr 2024 10:19:56 +0300 Subject: Fix "undeclared 'ut'" error by replacing it with 'utx' --- loginrec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loginrec.c b/loginrec.c index 7b1818b86..4afe136f4 100644 --- a/loginrec.c +++ b/loginrec.c @@ -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); } -- cgit v1.2.3