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
F86830533: D34524.id103784.diff
Wed, Jun 26, 5:50 AM
Unknown Object (File)
Sat, Jun 8, 12:40 PM
Unknown Object (File)
May 17 2024, 1:52 PM
Unknown Object (File)
May 17 2024, 1:52 PM
Unknown Object (File)
May 13 2024, 8:12 AM
Unknown Object (File)
May 13 2024, 8:11 AM
Unknown Object (File)
May 13 2024, 5:13 AM
Unknown Object (File)
May 11 2024, 11:10 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

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 44736
Build 41624: 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.