From 675d2e24a9cf24c91d4baf266ca96481a0914533 Mon Sep 17 00:00:00 2001 From: Richard Basch Date: Wed, 28 Dec 1994 20:05:27 +0000 Subject: [PATCH] Corrected the arguments to updwtmpx, and getutxid git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4768 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/logutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/appl/bsd/logutil.c b/src/appl/bsd/logutil.c index 4fcef6d39..ac5b45936 100644 --- a/src/appl/bsd/logutil.c +++ b/src/appl/bsd/logutil.c @@ -86,7 +86,7 @@ void update_utmp(ent, username, line, host) #ifdef HAVE_SETUTXENT getutmpx(ent, &utx); - getutxid(&ent); + getutxid(&utx); setutxent(); pututxline(&utx); endutxent(); @@ -116,7 +116,7 @@ void update_wtmp(ent) struct utmpx utx; getutmpx(ent, &utx); - updwtmpx(&utx); + updwtmpx(WTMPX_FILE, &utx); #endif #ifdef HAVE_UPDWTMP -- 2.26.2