From 6c4053568debeea1472c73953baad5a9ce8ea061 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Sat, 25 Mar 1995 04:16:28 +0000 Subject: [PATCH] fix copied code in HAVE_GETUTENT case git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5244 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/logutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appl/bsd/logutil.c b/src/appl/bsd/logutil.c index 70dd6588d..dbc6738ae 100644 --- 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; -- 2.26.2