sysctl already passed the commandname as a 24-byte string KI_MAXCOMLEN
authorderaadt <deraadt@openbsd.org>
Tue, 22 Feb 2022 17:05:51 +0000 (17:05 +0000)
committerderaadt <deraadt@openbsd.org>
Tue, 22 Feb 2022 17:05:51 +0000 (17:05 +0000)
commitf862925e1a6dc8f203a1b6d53c59ff4ccd43206d
tree34e7c41e3c8bc667670d903bf303c0f4539707f4
parente8693ef9dfbb445b5af6f42ea03ec5515eb5dbd3
sysctl already passed the commandname as a 24-byte string KI_MAXCOMLEN
because it was padded.  Define it in terms of _MAXCOMLEN from syslimits.h
ok millert
sys/sys/sysctl.h