summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-05-16 11:13:16 +0000
committerphk <phk@FreeBSD.org>2001-05-16 11:13:16 +0000
commit9c6cf1aa44ba72eb6ae027289ef90bc62ca80151 (patch)
tree1097a3d6828b1691859a9d4ce7d01bcec6434d95
parent9b4ed0610861a1a16a5524f77a89616a9f7a7a1f (diff)
downloadFreeBSD-src-9c6cf1aa44ba72eb6ae027289ef90bc62ca80151.zip
FreeBSD-src-9c6cf1aa44ba72eb6ae027289ef90bc62ca80151.tar.gz
Fix an array which was too small.
PR: 27380 Submitted by: Samuel Greear <sgreear@vsni.com>
-rw-r--r--usr.bin/killall/killall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/killall/killall.c b/usr.bin/killall/killall.c
index 359af04..9e75517 100644
--- a/usr.bin/killall/killall.c
+++ b/usr.bin/killall/killall.c
@@ -124,7 +124,7 @@ main(int ac, char **av)
const char *const *p;
char *ep;
int errors = 0;
- int mib[3];
+ int mib[4];
size_t miblen;
int st, nprocs;
size_t size;
OpenPOWER on IntegriCloud