summaryrefslogtreecommitdiffstats
path: root/plugins/check_ntp_peer.c
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2017-01-10 19:33:16 (GMT)
committerJan Wagner <waja@cyconet.org>2017-01-10 19:33:16 (GMT)
commit10fa79a97a5bebe6a69075b266e7388fc2f6f102 (patch)
tree3678efd6c79a33037baa2a133676b141abeeccdb /plugins/check_ntp_peer.c
parent3fc149f4990358a91ca945f8b649a4c511722e73 (diff)
parentdbb92c347e8a19b3fbe33a9160776b7a16ea588b (diff)
downloadmonitoring-plugins-10fa79a97a5bebe6a69075b266e7388fc2f6f102.tar.gz
Merge branch 'spell_fix'
Diffstat (limited to 'plugins/check_ntp_peer.c')
-rw-r--r--plugins/check_ntp_peer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c
index c656b0f..6842842 100644
--- a/plugins/check_ntp_peer.c
+++ b/plugins/check_ntp_peer.c
@@ -245,7 +245,7 @@ int ntp_request(const char *host, double *offset, int *offset_result, double *ji
245 do { 245 do {
246 /* Attempt to read the largest size packet possible */ 246 /* Attempt to read the largest size packet possible */
247 req.count=htons(MAX_CM_SIZE); 247 req.count=htons(MAX_CM_SIZE);
248 DBG(printf("recieving READSTAT response")) 248 DBG(printf("receiving READSTAT response"))
249 if(read(conn, &req, SIZEOF_NTPCM(req)) == -1) 249 if(read(conn, &req, SIZEOF_NTPCM(req)) == -1)
250 die(STATE_CRITICAL, "NTP CRITICAL: No response from NTP server\n"); 250 die(STATE_CRITICAL, "NTP CRITICAL: No response from NTP server\n");
251 DBG(print_ntp_control_message(&req)); 251 DBG(print_ntp_control_message(&req));