summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-06-15 12:41:04 -0500
committerJoel Sherrill <joel@rtems.org>2017-06-21 12:50:31 -0500
commitd8b548160f6b52cace3165aa2eed8c1e0a97a46c (patch)
tree218e5964a212a348c170c308f2863b0297d5466c
parenti386/shared/comm/i386-stub-glue.c: Fix duplicate const warning (diff)
downloadrtems-d8b548160f6b52cace3165aa2eed8c1e0a97a46c.tar.bz2
sys/utsname.h: Increase buffer to avoid overflow
-rw-r--r--cpukit/libcsupport/include/sys/utsname.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/include/sys/utsname.h b/cpukit/libcsupport/include/sys/utsname.h
index 95dc2c1c63..ddeb0e90c2 100644
--- a/cpukit/libcsupport/include/sys/utsname.h
+++ b/cpukit/libcsupport/include/sys/utsname.h
@@ -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 {