From fee745e444116e026b6116ab89404d577b507f56 Mon Sep 17 00:00:00 2001 From: Pavel Miadzvedzeu Date: Wed, 24 Apr 2024 10:19:56 +0300 Subject: [PATCH] [loginrec.c] 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 4f21499586af..171a941c912f 100644 --- a/loginrec.c +++ b/loginrec.c @@ -1033,7 +1033,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); }