diff options
-rw-r--r-- | plugins/check_disk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 75f8a9ac..eb573f5f 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c @@ -977,6 +977,7 @@ stat_path (struct parameter_list *p) int statdone = 0; int timer = timeout_interval; struct timespec req, rem; + req.tv_sec = 0; pthread_create(&stat_thread, NULL, do_stat_path, p); while (timer-- > 0) { |