Browse Source

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

Edgar Fuß 2 năm trước cách đây
mục cha
commit
d1afd471da
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;