Sfoglia il codice sorgente

check_disk: Seperate declarations from code

Holger Weiss 11 anni fa
parent
commit
589d2f5c58
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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) {