diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/appl/bsd/logutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
