projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47d318b
)
Corrected the arguments to updwtmpx, and getutxid
author
Richard Basch
<probe@mit.edu>
Wed, 28 Dec 1994 20:05:27 +0000
(20:05 +0000)
committer
Richard Basch
<probe@mit.edu>
Wed, 28 Dec 1994 20:05:27 +0000
(20:05 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4768
dc483132
-0cff-0310-8789-
dd5450dbe970
src/appl/bsd/logutil.c
patch
|
blob
|
history
diff --git
a/src/appl/bsd/logutil.c
b/src/appl/bsd/logutil.c
index 4fcef6d39c078177845b38073630328f7970b632..ac5b459361b8db3354d93b01f9230bbd5be25ed1 100644
(file)
--- 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