diff options
| author | Richard Basch <probe@mit.edu> | 1994-12-28 20:05:27 +0000 |
|---|---|---|
| committer | Richard Basch <probe@mit.edu> | 1994-12-28 20:05:27 +0000 |
| commit | 675d2e24a9cf24c91d4baf266ca96481a0914533 (patch) | |
| tree | 2fd7e112698759eb73c7f6075c7660bada0e9657 /src/appl/bsd/logutil.c | |
| parent | 47d318ba7f9a2699148827812feabe08c27ff3b4 (diff) | |
| download | krb5-675d2e24a9cf24c91d4baf266ca96481a0914533.tar.gz krb5-675d2e24a9cf24c91d4baf266ca96481a0914533.tar.xz krb5-675d2e24a9cf24c91d4baf266ca96481a0914533.zip | |
Corrected the arguments to updwtmpx, and getutxid
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4768 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/bsd/logutil.c')
| -rw-r--r-- | src/appl/bsd/logutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/appl/bsd/logutil.c b/src/appl/bsd/logutil.c index 4fcef6d39c..ac5b459361 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 |
