From: Richard Basch Date: Wed, 28 Dec 1994 20:05:27 +0000 (+0000) Subject: Corrected the arguments to updwtmpx, and getutxid X-Git-Tag: krb5-1.0-beta5~885 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=675d2e24a9cf24c91d4baf266ca96481a0914533;p=krb5.git Corrected the arguments to updwtmpx, and getutxid git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4768 dc483132-0cff-0310-8789-dd5450dbe970 --- 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