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)
Fri, Aug 22, 9:14 PM
Unknown Object (File)
Wed, Aug 20, 12:37 PM
Unknown Object (File)
Wed, Aug 20, 1:22 AM
Unknown Object (File)
Thu, Aug 14, 11:32 PM
Unknown Object (File)
Sun, Aug 10, 4:37 PM
Unknown Object (File)
Fri, Aug 8, 6:42 AM
Unknown Object (File)
Sun, Aug 3, 1:46 AM
Unknown Object (File)
Sat, Aug 2, 8:56 PM
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

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 44743
Build 41631: arc lint + arc unit

Event Timeline

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

Just one nit

who/who.c
237

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.