HomeFreeBSD

usr.bin/who.c: Fix boot time checking

Description

usr.bin/who.c: Fix boot time checking

The boot time entry doesn't have a tty specified, so don't check it.
While here, make ttystat handle that case.

Approved by: kevans (src)
Differential Revision: https://reviews.freebsd.org/D34524

Details

Provenance
swillsAuthored on Mar 12 2022, 4:48 PM
Differential Revision
D34524: usr.bin/who.c: Fix boot time checking
Parents
rG5fc3cc2713ef: amd64: make bcmp in libc just call memcmp
Branches
Unknown
Tags
Unknown