瀏覽代碼

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

Edgar Fuß 2 年之前
父節點
當前提交
d1afd471da
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;