summaryrefslogtreecommitdiffstats
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2014-11-30 10:33:20 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2014-11-30 10:33:20 (GMT)
commit0d14645cb059ce0e4154482b38b16341ba8ddaa3 (patch)
treead22b0a8d29caa5d9b4b086c16616af176424eda /plugins/check_disk.c
parentc0e6a6935bf8ea50f85a41b281dded815a8e083d (diff)
downloadmonitoring-plugins-0d14645cb059ce0e4154482b38b16341ba8ddaa3.tar.gz
check_disk: Seperate declarations from code
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r--plugins/check_disk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 75f8a9a..eb573f5 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -977,6 +977,7 @@ stat_path (struct parameter_list *p)
977 int statdone = 0; 977 int statdone = 0;
978 int timer = timeout_interval; 978 int timer = timeout_interval;
979 struct timespec req, rem; 979 struct timespec req, rem;
980
980 req.tv_sec = 0; 981 req.tv_sec = 0;
981 pthread_create(&stat_thread, NULL, do_stat_path, p); 982 pthread_create(&stat_thread, NULL, do_stat_path, p);
982 while (timer-- > 0) { 983 while (timer-- > 0) {