X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fprocevent.c;h=a7a0107a3294f566829d862685ed484bc54527b5;hp=69174d0cf96b5190c78cd1928b5ece6eeed93b03;hb=936b9757a84885a9e86e7df774d1c82c74f22bb8;hpb=624f8320b6b25ac03886372e9aa2e704da0e2a83 diff --git a/src/procevent.c b/src/procevent.c index 69174d0c..a7a0107a 100644 --- a/src/procevent.c +++ b/src/procevent.c @@ -136,7 +136,7 @@ static circbuf_t ring; static processlist_t *processlist_head = NULL; static int event_id = 0; -static const char *config_keys[] = {"BufferLength", "Process", "RegexProcess"}; +static const char *config_keys[] = {"BufferLength", "Process", "ProcessRegex"}; static int config_keys_num = STATIC_ARRAY_SIZE(config_keys); /* @@ -1027,7 +1027,7 @@ static int procevent_config(const char *key, const char *value) /* {{{ */ buffer_length = atoi(value); } else if (strcasecmp(key, "Process") == 0) { ignorelist_add(ignorelist, value); - } else if (strcasecmp(key, "RegexProcess") == 0) { + } else if (strcasecmp(key, "ProcessRegex") == 0) { #if HAVE_REGEX_H status = ignorelist_add(ignorelist, value); @@ -1037,7 +1037,7 @@ static int procevent_config(const char *key, const char *value) /* {{{ */ } #else WARNING("procevent plugin: The plugin has been compiled without support " - "for the \"RegexProcess\" option."); + "for the \"ProcessRegex\" option."); #endif } else { return (-1);