summaryrefslogtreecommitdiffstats
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2006-05-02 08:30:21 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2006-05-02 08:30:21 (GMT)
commit8d3562e126f4a0b8658abd91da27babf91acf2c6 (patch)
treef444b38900532a4c1ff956737ce0d5d0243ca94f /plugins/check_disk.c
parent488b06520f0ddca9384bda4974db5a2c99f28536 (diff)
downloadmonitoring-plugins-8d3562e126f4a0b8658abd91da27babf91acf2c6.tar.gz
Inode thresholds not always being initialised (James Fidell - 1476457)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1388 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r--plugins/check_disk.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 1be5e6c..ef236c0 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -462,6 +462,8 @@ process_arguments (int argc, char **argv)
462 se->c_df = c_df; 462 se->c_df = c_df;
463 se->w_dfp = w_dfp; 463 se->w_dfp = w_dfp;
464 se->c_dfp = c_dfp; 464 se->c_dfp = c_dfp;
465 se->w_idfp = w_idfp;
466 se->c_idfp = c_idfp;
465 se->found = 0; 467 se->found = 0;
466 se->found_len = 0; 468 se->found_len = 0;
467 *pathtail = se; 469 *pathtail = se;
@@ -480,6 +482,8 @@ process_arguments (int argc, char **argv)
480 se->c_df = 0; 482 se->c_df = 0;
481 se->w_dfp = 0; 483 se->w_dfp = 0;
482 se->c_dfp = 0; 484 se->c_dfp = 0;
485 se->w_idfp = 0;
486 se->c_idfp = 0;
483 se->found = 0; 487 se->found = 0;
484 se->found_len = 0; 488 se->found_len = 0;
485 *dptail = se; 489 *dptail = se;
@@ -497,6 +501,8 @@ process_arguments (int argc, char **argv)
497 se->c_df = 0; 501 se->c_df = 0;
498 se->w_dfp = 0; 502 se->w_dfp = 0;
499 se->c_dfp = 0; 503 se->c_dfp = 0;
504 se->w_idfp = 0;
505 se->c_idfp = 0;
500 se->found = 0; 506 se->found = 0;
501 se->found_len = 0; 507 se->found_len = 0;
502 *fstail = se; 508 *fstail = se;
@@ -519,6 +525,8 @@ process_arguments (int argc, char **argv)
519 c_df = 0; 525 c_df = 0;
520 w_dfp = -1.0; 526 w_dfp = -1.0;
521 c_dfp = -1.0; 527 c_dfp = -1.0;
528 w_idfp = -1.0;
529 c_idfp = -1.0;
522 break; 530 break;
523 case 'V': /* version */ 531 case 'V': /* version */
524 print_revision (progname, revision); 532 print_revision (progname, revision);
@@ -547,6 +555,8 @@ process_arguments (int argc, char **argv)
547 se->c_df = c_df; 555 se->c_df = c_df;
548 se->w_dfp = w_dfp; 556 se->w_dfp = w_dfp;
549 se->c_dfp = c_dfp; 557 se->c_dfp = c_dfp;
558 se->w_idfp = w_idfp;
559 se->c_idfp = c_idfp;
550 se->found =0; 560 se->found =0;
551 se->found_len = 0; 561 se->found_len = 0;
552 *pathtail = se; 562 *pathtail = se;