summaryrefslogtreecommitdiffstats
path: root/plugins/check_ntp.c
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2016-11-30 16:38:36 (GMT)
committerJan Wagner <waja@cyconet.org>2016-12-01 11:49:40 (GMT)
commitdbb92c347e8a19b3fbe33a9160776b7a16ea588b (patch)
tree7cd127b2fb28044e7a6a638061841fb3931583a4 /plugins/check_ntp.c
parentbc4842ab7d0a378a98ee6d37e42bb928c51f9e41 (diff)
downloadmonitoring-plugins-dbb92c347e8a19b3fbe33a9160776b7a16ea588b.tar.gz
Spelling fixes suggested by lintianrefs/pull/1452/head
Diffstat (limited to 'plugins/check_ntp.c')
-rw-r--r--plugins/check_ntp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index 5ac6c65..914b40c 100644
--- a/plugins/check_ntp.c
+++ b/plugins/check_ntp.c
@@ -548,7 +548,7 @@ double jitter_request(const char *host, int *status){
548 DBG(print_ntp_control_message(&req)); 548 DBG(print_ntp_control_message(&req));
549 /* Attempt to read the largest size packet possible */ 549 /* Attempt to read the largest size packet possible */
550 req.count=htons(MAX_CM_SIZE); 550 req.count=htons(MAX_CM_SIZE);
551 DBG(printf("recieving READSTAT response")) 551 DBG(printf("receiving READSTAT response"))
552 read(conn, &req, SIZEOF_NTPCM(req)); 552 read(conn, &req, SIZEOF_NTPCM(req));
553 DBG(print_ntp_control_message(&req)); 553 DBG(print_ntp_control_message(&req));
554 /* Each peer identifier is 4 bytes in the data section, which 554 /* Each peer identifier is 4 bytes in the data section, which
@@ -608,7 +608,7 @@ double jitter_request(const char *host, int *status){
608 DBG(print_ntp_control_message(&req)); 608 DBG(print_ntp_control_message(&req));
609 609
610 req.count = htons(MAX_CM_SIZE); 610 req.count = htons(MAX_CM_SIZE);
611 DBG(printf("recieving READVAR response...\n")); 611 DBG(printf("receiving READVAR response...\n"));
612 read(conn, &req, SIZEOF_NTPCM(req)); 612 read(conn, &req, SIZEOF_NTPCM(req));
613 DBG(print_ntp_control_message(&req)); 613 DBG(print_ntp_control_message(&req));
614 614