From: Mark Eichin Date: Sat, 25 Mar 1995 04:16:28 +0000 (+0000) Subject: fix copied code in HAVE_GETUTENT case X-Git-Tag: krb5-1.0-beta5~466 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6c4053568debeea1472c73953baad5a9ce8ea061;p=krb5.git fix copied code in HAVE_GETUTENT case git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5244 dc483132-0cff-0310-8789-dd5450dbe970 --- 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;