summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_snmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index bdf4b4f6..7851631c 100644
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
@@ -191,7 +191,7 @@ int main(int argc, char **argv) {
191 mp_check overall = mp_check_init(); 191 mp_check overall = mp_check_init();
192 192
193 mp_subcheck sc_successfull_query = mp_subcheck_init(); 193 mp_subcheck sc_successfull_query = mp_subcheck_init();
194 xasprintf(&sc_successfull_query.output, "SNMP query was succesful"); 194 xasprintf(&sc_successfull_query.output, "SNMP query was successful");
195 sc_successfull_query = mp_set_subcheck_state(sc_successfull_query, STATE_OK); 195 sc_successfull_query = mp_set_subcheck_state(sc_successfull_query, STATE_OK);
196 mp_add_subcheck_to_check(&overall, sc_successfull_query); 196 mp_add_subcheck_to_check(&overall, sc_successfull_query);
197 197