summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Miadzvedzeu <pmiadzvedzeu@gmail.com>2024-04-24 09:19:56 +0200
committerDamien Miller <djm@mindrot.org>2024-10-18 04:18:43 +0200
commit49e64bf63fbf2f14961062dafe8ef08cb816bb08 (patch)
tree19553a2f198b113e72716455a29827a856bea85b
parentSeed RNG when starting up sshd-auth. (diff)
downloadopenssh-49e64bf63fbf2f14961062dafe8ef08cb816bb08.tar.xz
openssh-49e64bf63fbf2f14961062dafe8ef08cb816bb08.zip
Fix "undeclared 'ut'" error by replacing it with 'utx'
-rw-r--r--loginrec.c2
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);
}