On kernels without ucom(4) support, 'sysctl hw.ucomnames' should return
authorderaadt <deraadt@openbsd.org>
Sat, 10 Feb 2024 15:28:16 +0000 (15:28 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 10 Feb 2024 15:28:16 +0000 (15:28 +0000)
commitee087540b38c80eb1e7cc5cbf381781c66542abb
treefceb7b712f4c107571dcb6b3889741719bd91932
parent2d4b9accda56a78a6741e253967909590c0e7198
On kernels without ucom(4) support, 'sysctl hw.ucomnames' should return
the empty string, rather than error.
ok krw
sys/kern/kern_sysctl.c