[monitoring-plugins] Refix spelling issues
RincewindsHat
git at monitoring-plugins.org
Mon Jul 10 10:30:12 CEST 2023
Module: monitoring-plugins
Branch: master
Commit: cb5579793731e3320330551bb2f926be7c7d0378
Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
Date: Tue Apr 18 00:42:20 2023 +0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=cb55797
Refix spelling issues
---
plugins-root/check_icmp.c | 2 +-
plugins/check_ntp_peer.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins-root/check_icmp.c b/plugins-root/check_icmp.c
index f96207b..1d47e9f 100644
--- a/plugins-root/check_icmp.c
+++ b/plugins-root/check_icmp.c
@@ -1432,7 +1432,7 @@ get_ip_address(const char *ifname)
{
// TODO: Rewrite this so the function return an error and we exit somewhere else
struct sockaddr_in ip;
- ip.sin_addr.s_addr = 0; // Fake inititialization to make compiler happy
+ ip.sin_addr.s_addr = 0; // Fake initialization to make compiler happy
#if defined(SIOCGIFADDR)
struct ifreq ifr;
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c
index 161b495..49cb100 100644
--- a/plugins/check_ntp_peer.c
+++ b/plugins/check_ntp_peer.c
@@ -585,7 +585,7 @@ int main(int argc, char *argv[]){
/* set socket timeout */
alarm (socket_timeout);
- /* This returns either OK or WARNING (See comment preceeding ntp_request) */
+ /* This returns either OK or WARNING (See comment preceding ntp_request) */
result = ntp_request(&offset, &offset_result, &jitter, &stratum, &num_truechimers);
if(offset_result == STATE_UNKNOWN) {
More information about the Commits
mailing list