diff options
| author | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
|---|---|---|
| committer | svn2git <svn2git@FreeBSD.org> | 1994-07-01 08:00:00 +0000 |
| commit | 5e0e9b99dc3fc0ecd49d929db0d57c784b66f481 (patch) | |
| tree | e779b5a6edddbb949b7990751b12d6f25304ba86 /usr.bin/wall | |
| parent | a16f65c7d117419bd266c28a1901ef129a337569 (diff) | |
Diffstat (limited to 'usr.bin/wall')
| -rw-r--r-- | usr.bin/wall/wall.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/wall/wall.c b/usr.bin/wall/wall.c index 503560c15215..52e18211db07 100644 --- a/usr.bin/wall/wall.c +++ b/usr.bin/wall/wall.c @@ -103,7 +103,8 @@ usage: /* NOSTRICT */ while (fread((char *)&utmp, sizeof(utmp), 1, fp) == 1) { if (!utmp.ut_name[0] || - !strncmp(utmp.ut_name, IGNOREUSER, sizeof(utmp.ut_name))) + !strncmp(utmp.ut_name, IGNOREUSER, sizeof(utmp.ut_name)) || + !strncmp(utmp.ut_line, "uu", 2)) continue; if (p = ttymsg(&iov, 1, utmp.ut_line)) (void)fprintf(stderr, "wall: %s\n", p); |
