Page MenuHomeFreeBSD

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

Authored by swills on Mar 10 2022, 10:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 29, 7:53 AM
Unknown Object (File)
Wed, Oct 23, 10:10 PM
Unknown Object (File)
Oct 8 2024, 9:54 PM
Unknown Object (File)
Oct 7 2024, 5:56 PM
Unknown Object (File)
Oct 7 2024, 5:49 AM
Unknown Object (File)
Oct 4 2024, 3:35 PM
Unknown Object (File)
Oct 4 2024, 1:33 AM
Unknown Object (File)
Oct 4 2024, 1:30 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

swills created this revision.
kevans added a reviewer: kevans.
kevans added a subscriber: kevans.

Just one nit

who/who.c
237 ↗(On Diff #103733)

else if

This revision is now accepted and ready to land.Mar 10 2022, 10:51 PM
This revision now requires review to proceed.Mar 11 2022, 2:15 AM
Approved by: kevans (src)
This revision is now accepted and ready to land.Mar 11 2022, 5:09 AM
This revision was automatically updated to reflect the committed changes.