Page MenuHomeFreeBSD

sysctl: use correct types and names in sysctl_*sec_to_sbintime
ClosedPublic

Authored by glebius on Jan 26 2023, 10:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 27 2023, 6:55 AM
Unknown Object (File)
Dec 23 2023, 2:32 AM
Unknown Object (File)
Dec 12 2023, 6:17 AM
Unknown Object (File)
Aug 28 2023, 2:11 AM
Unknown Object (File)
Aug 28 2023, 2:10 AM
Unknown Object (File)
Aug 28 2023, 2:08 AM
Unknown Object (File)
Aug 26 2023, 6:45 AM
Unknown Object (File)
May 26 2023, 8:40 AM
Subscribers

Details

Summary

The functions are intended to report kernel variables that are
stored as sbintime_t (pointed to by arg1) as human readable
nanoseconds or milliseconds (reported via sysctl_handle_64).
The variable types and names were reversed. I guess there is
no functional change here, as all types flipped around were
signed 64. Note that these function aren't used yet anywhere
in the kernel.

Diff Detail

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