aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_mrtg.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_mrtg.c')
-rw-r--r--plugins/check_mrtg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c
index 4d297aaa..80c9b008 100644
--- a/plugins/check_mrtg.c
+++ b/plugins/check_mrtg.c
@@ -332,7 +332,7 @@ process_arguments (int argc, char **argv)
value_warning_threshold = strtoul (argv[c++], NULL, 10);
}
- if (vargc > c && alue_critical_threshold == 0) {
+ if (argc > c && value_critical_threshold == 0) {
value_critical_threshold = strtoul (argv[c++], NULL, 10);
}