mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-21 22:29:49 -04:00
check_disk: Seperate declarations from code
This commit is contained in:
parent
c0e6a6935b
commit
0d14645cb0
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue