Explorar o código

Use int, not char, type for exclude_progs_counter. Use size_t?

Edgar Fuß %!s(int64=2) %!d(string=hai) anos
pai
achega
d1afd471da
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plugins/check_procs.c

+ 1 - 1
plugins/check_procs.c

@@ -98,7 +98,7 @@ char *statopts;
 char *prog;
 char *exclude_progs;
 char **exclude_progs_arr = NULL;
-char exclude_progs_counter = 0; 
+int exclude_progs_counter = 0;
 char *cgroup_hierarchy;
 char *args;
 char *input_filename = NULL;