diff options
author | Pavel Miadzvedzeu <pmiadzvedzeu@gmail.com> | 2024-04-24 09:19:56 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2024-10-18 04:18:43 +0200 |
commit | 49e64bf63fbf2f14961062dafe8ef08cb816bb08 (patch) | |
tree | 19553a2f198b113e72716455a29827a856bea85b | |
parent | Seed RNG when starting up sshd-auth. (diff) | |
download | openssh-49e64bf63fbf2f14961062dafe8ef08cb816bb08.tar.xz openssh-49e64bf63fbf2f14961062dafe8ef08cb816bb08.zip |
Fix "undeclared 'ut'" error by replacing it with 'utx'
-rw-r--r-- | loginrec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |