[openssh-commits] [openssh] branch master updated: Fix "undeclared 'ut'" error by replacing it with 'utx'

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Oct 18 13:18:52 AEDT 2024


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

The following commit(s) were added to refs/heads/master by this push:
     new 49e64bf6 Fix "undeclared 'ut'" error by replacing it with 'utx'
49e64bf6 is described below

commit 49e64bf63fbf2f14961062dafe8ef08cb816bb08
Author: Pavel Miadzvedzeu <pmiadzvedzeu at gmail.com>
AuthorDate: Wed Apr 24 10:19:56 2024 +0300

    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 7b1818b8..4afe136f 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);
 	}

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list