aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2023-10-16 16:53:11 +0000
committerBrooks Davis <brooks@FreeBSD.org>2023-10-16 16:58:37 +0000
commit72a4ee26a7c665ae1c31abe1c6feeaa7ccaba140 (patch)
tree484e530b3e66c082e0e3ea22d4d3b5d146e4cc90
parent9735cc0e41825bb9e95d16433d381ffe4c190f38 (diff)
downloadsrc-72a4ee26a7c665ae1c31abe1c6feeaa7ccaba140.tar.gz
src-72a4ee26a7c665ae1c31abe1c6feeaa7ccaba140.zip
-rw-r--r--lib/libprocstat/libprocstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libprocstat/libprocstat.c b/lib/libprocstat/libprocstat.c
index e5481c53eea1..84502bb895b7 100644
--- a/lib/libprocstat/libprocstat.c
+++ b/lib/libprocstat/libprocstat.c
@@ -2392,7 +2392,7 @@ is_elf32_sysctl(pid_t pid)
{
int error, name[4];
size_t len, i;
- static char sv_name[256];
+ char sv_name[32];
name[0] = CTL_KERN;
name[1] = KERN_PROC;