diff options
author | Jan Wagner <waja@cyconet.org> | 2016-11-30 17:38:36 +0100 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2017-01-10 21:03:20 +0100 |
commit | b7ba1178da7cd12ab983bd3b8047368c5a119851 (patch) | |
tree | aeab25f5959e153f5ffc7b6d12e6ac30b31b2a01 /plugins/check_ntp_peer.c | |
parent | 2e905c39b8cd030fe05216219539ca99bec27f1d (diff) | |
download | monitoring-plugins-b7ba117.tar.gz |
Spelling fixes suggested by lintian
Diffstat (limited to 'plugins/check_ntp_peer.c')
-rw-r--r-- | plugins/check_ntp_peer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c index c656b0f5..6842842f 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)); |