projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7380b50
)
fix copied code in HAVE_GETUTENT case
author
Mark Eichin
<eichin@mit.edu>
Sat, 25 Mar 1995 04:16:28 +0000
(
04:16
+0000)
committer
Mark Eichin
<eichin@mit.edu>
Sat, 25 Mar 1995 04:16:28 +0000
(
04:16
+0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5244
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 70dd6588d89c254da98aff0744966a8b94fac742..dbc6738aefb818961095cf468b19c7622b7f171c 100644
(file)
--- a/
src/appl/bsd/logutil.c
+++ b/
src/appl/bsd/logutil.c
@@
-172,7
+172,7
@@
void update_wtmp(ent)
#endif
(void)time(&ut.ut_time);
#ifdef HAVE_GETUTENT
- if (
*
name) {
+ if (
ent->ut_
name) {
if (!ut.ut_pid)
ut.ut_pid = getpid();
ut.ut_type = USER_PROCESS;