From: Pavel Miadzvedzeu Date: Wed, 24 Apr 2024 07:19:56 +0000 (+0300) Subject: Fix "undeclared 'ut'" error by replacing it with 'utx' X-Git-Tag: V_10_0_P1~181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49e64bf63fbf2f14961062dafe8ef08cb816bb08;p=thirdparty%2Fopenssh-portable.git Fix "undeclared 'ut'" error by replacing it with 'utx' --- 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); }