summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_ntp_peer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c
index d4e5fd9a..4fb9018c 100644
--- a/plugins/check_ntp_peer.c
+++ b/plugins/check_ntp_peer.c
@@ -557,7 +557,8 @@ char *perfd_truechimers (int num_truechimers)
557} 557}
558 558
559int main(int argc, char *argv[]){ 559int main(int argc, char *argv[]){
560 int result, offset_result, stratum, num_truechimers, oresult, jresult, sresult, tresult; 560 int result, offset_result, stratum, num_truechimers;
561 int oresult, jresult, sresult, tresult = STATE_UNKNOWN;
561 double offset=0, jitter=0; 562 double offset=0, jitter=0;
562 char *result_line, *perfdata_line; 563 char *result_line, *perfdata_line;
563 564