git: uname(1): Improve sysctl()/sysctlbyname() error report

Aaron LI aly at crater.dragonflybsd.org
Sun Jun 21 03:01:59 PDT 2026


commit 5b50f0749dce2627697a439739fdc65a4ef770b8
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Jun 21 13:39:59 2026 +0800

    uname(1): Improve sysctl()/sysctlbyname() error report
    
    Report the sysctl MIB name/path when it fails.
    
    Meanwhile, clean up the style a bit.

Summary of changes:
 usr.bin/uname/uname.c | 63 ++++++++++++++++++++++++---------------------------
 1 file changed, 30 insertions(+), 33 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5b50f0749dce2627697a439739fdc65a4ef770b8


-- 
DragonFly BSD source repository


More information about the Commits mailing list