From ec9abb566017d406745f5f263b55792f89cede1a Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 27 May 2008 16:53:14 +0200 Subject: [PATCH] processes plugin: Use STATIC_ARRAY_SIZE instead of numeric value. --- src/processes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/processes.c b/src/processes.c index d55c5f87..177a9fbb 100644 --- a/src/processes.c +++ b/src/processes.c @@ -107,7 +107,7 @@ static const char *config_keys[] = "ProcessMatch", NULL }; -static int config_keys_num = 2; +static int config_keys_num = STATIC_ARRAY_SIZE (config_keys); typedef struct procstat_entry_s { -- 2.30.2