[monitoring-plugins] check_disk: Seperate declarations from code
Holger Weiss
git at monitoring-plugins.org
Tue Dec 2 13:30:08 CET 2014
Module: monitoring-plugins
Branch: master
Commit: 0d14645cb059ce0e4154482b38b16341ba8ddaa3
Author: Holger Weiss <holger at zedat.fu-berlin.de>
Date: Sun Nov 30 11:33:20 2014 +0100
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=0d14645
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 75f8a9a..eb573f5 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) {
More information about the Commits
mailing list