sys/utsname.h: Increase buffer to avoid overflow

This commit is contained in:
Joel Sherrill
2017-06-15 12:41:04 -05:00
parent ec230fc77f
commit d8b548160f

View File

@@ -39,11 +39,11 @@ extern "C" {
*/
#ifdef _KERNEL
#define SYS_NMLN 32 /* uname(2) for the FreeBSD 1.1 ABI. */
#define SYS_NMLN 48 /* uname(2) for the FreeBSD 1.1 ABI. */
#endif
#ifndef SYS_NMLN
#define SYS_NMLN 32 /* User can override. */
#define SYS_NMLN 48 /* User can override. */
#endif
struct utsname {