summaryrefslogtreecommitdiffstats
path: root/plugins/t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index c7a2b8a..1be5e6c 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -554,7 +554,7 @@ process_arguments (int argc, char **argv)
554 554
555 if (path_select_list) { 555 if (path_select_list) {
556 temp_list = path_select_list; 556 temp_list = path_select_list;
557 stat_buf = malloc(sizeof stat_buf); 557 stat_buf = malloc(sizeof *stat_buf);
558 while (temp_list) { 558 while (temp_list) {
559 /* Stat each entry to check that dir exists */ 559 /* Stat each entry to check that dir exists */
560 if (stat (temp_list->name, &stat_buf[0])) { 560 if (stat (temp_list->name, &stat_buf[0])) {