summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-04-18 00:42:20 +0200
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-04-18 00:42:20 +0200
commitcb5579793731e3320330551bb2f926be7c7d0378 (patch)
treef62e00e21ef454d135930789ad7cac50ba3792b9
parentd27181914930470c0f8e33475e95dc6984828d8c (diff)
downloadmonitoring-plugins-cb5579793731e3320330551bb2f926be7c7d0378.tar.gz
Refix spelling issues
-rw-r--r--plugins-root/check_icmp.c2
-rw-r--r--plugins/check_ntp_peer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index f96207be..1d47e9fc 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -1432,7 +1432,7 @@ get_ip_address(const char *ifname)
1432{ 1432{
1433 // TODO: Rewrite this so the function return an error and we exit somewhere else 1433 // TODO: Rewrite this so the function return an error and we exit somewhere else
1434 struct sockaddr_in ip; 1434 struct sockaddr_in ip;
1435 ip.sin_addr.s_addr = 0; // Fake inititialization to make compiler happy 1435 ip.sin_addr.s_addr = 0; // Fake initialization to make compiler happy
1436#if defined(SIOCGIFADDR) 1436#if defined(SIOCGIFADDR)
1437 struct ifreq ifr; 1437 struct ifreq ifr;
1438 1438
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c
index 161b4950..49cb1008 100644
--- a/plugins/check_ntp_peer.c
+++ b/plugins/check_ntp_peer.c
@@ -585,7 +585,7 @@ int main(int argc, char *argv[]){
585 /* set socket timeout */ 585 /* set socket timeout */
586 alarm (socket_timeout); 586 alarm (socket_timeout);
587 587
588 /* This returns either OK or WARNING (See comment preceeding ntp_request) */ 588 /* This returns either OK or WARNING (See comment preceding ntp_request) */
589 result = ntp_request(&offset, &offset_result, &jitter, &stratum, &num_truechimers); 589 result = ntp_request(&offset, &offset_result, &jitter, &stratum, &num_truechimers);
590 590
591 if(offset_result == STATE_UNKNOWN) { 591 if(offset_result == STATE_UNKNOWN) {