summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-10-14 06:31:49 +0000
committerbapt <bapt@FreeBSD.org>2015-10-14 06:31:49 +0000
commit9f9e4ddb4965b473049b1df4a9f510ca8263ccf2 (patch)
treec01261b2c603b6d4125c0a7429bce1a3fc662d54 /lib/libc
parent33831fe3b5010ac9dedee0fa225cf7a1c9e5d148 (diff)
downloadFreeBSD-src-9f9e4ddb4965b473049b1df4a9f510ca8263ccf2.zip
FreeBSD-src-9f9e4ddb4965b473049b1df4a9f510ca8263ccf2.tar.gz
MFC: 288984
Only print the errno string in case sysctl(3) does not file with ENOENT This reduces the noise in error reporing from sysctl(8): Before: $ sysctl bla=something sysctl: unknown oid 'bla': No such file or directory After: $ sysctl bla=something sysctl: unknown oid 'bla' Sponsored by: Gandi.net
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud