Ver código fonte

check_disk: Seperate declarations from code

Holger Weiss 11 anos atrás
pai
commit
589d2f5c58
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      plugins/check_disk.c

+ 1 - 0
plugins/check_disk.c

@@ -999,6 +999,7 @@ stat_path (struct parameter_list *p)
   int statdone = 0;
   int statdone = 0;
   int timer = timeout_interval;
   int timer = timeout_interval;
   struct timespec req, rem;
   struct timespec req, rem;
+
   req.tv_sec = 0;
   req.tv_sec = 0;
   pthread_create(&stat_thread, NULL, do_stat_path, p);
   pthread_create(&stat_thread, NULL, do_stat_path, p);
   while (timer-- > 0) {
   while (timer-- > 0) {