From 6d1eb1ce40801323b65401a70ae5f9782939eeb4 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Sun, 3 Mar 2019 22:42:26 -0800 Subject: Consistently use ARRAY_LEN. --- lib/lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/lib.c') diff --git a/lib/lib.c b/lib/lib.c index 76d5765c..54bfc8c4 100644 --- a/lib/lib.c +++ b/lib/lib.c @@ -907,7 +907,7 @@ int sig_to_num(char *pidstr) if (!strncasecmp(pidstr, "sig", 3)) pidstr+=3; } - for (i = 0; i < sizeof(signames)/sizeof(struct signame); i++) + for (i=0; i