diff options
Diffstat (limited to 'term-utils/wall.c')
-rw-r--r-- | term-utils/wall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/term-utils/wall.c b/term-utils/wall.c index fbea7e42f..20a2891f2 100644 --- a/term-utils/wall.c +++ b/term-utils/wall.c @@ -155,7 +155,7 @@ int main(int argc, char **argv) iov.iov_base = mbuf; iov.iov_len = mbufsize; while((utmpptr = getutent())) { - if (!utmpptr->ut_name[0]) + if (!utmpptr->ut_user[0]) continue; #ifdef USER_PROCESS if (utmpptr->ut_type != USER_PROCESS) |