From 0d14645cb059ce0e4154482b38b16341ba8ddaa3 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sun, 30 Nov 2014 11:33:20 +0100 Subject: check_disk: Seperate declarations from code --- plugins/check_disk.c | 1 + 1 file changed, 1 insertion(+) 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) { -- cgit v1.2.3-74-g34f1