diff options
author | Jan Wagner <waja@cyconet.org> | 2014-06-23 22:20:03 +0200 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2014-06-23 22:20:03 +0200 |
commit | be55da1d2301c002e0ae7b70c21e75cc6b1997a8 (patch) | |
tree | 8f954ab08366774d9f5446a2d399632a79e14802 /plugins/check_ups.c | |
parent | f52efd00bfc747cca182f51d61fdd65b94c1d58a (diff) | |
download | monitoring-plugins-be55da1d2301c002e0ae7b70c21e75cc6b1997a8.tar.gz |
check_ups/check_dbi: Fixing spelling bug
Diffstat (limited to 'plugins/check_ups.c')
-rw-r--r-- | plugins/check_ups.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_ups.c b/plugins/check_ups.c index 7cced495..099881d0 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c @@ -66,7 +66,7 @@ enum { #define UPSSTATUS_BOOST 512 #define UPSSTATUS_CHRG 1024 #define UPSSTATUS_DISCHRG 2048 -#define UPSSTATUS_UNKOWN 4096 +#define UPSSTATUS_UNKNOWN 4096 enum { NOSUCHVAR = ERROR-1 }; @@ -181,7 +181,7 @@ main (int argc, char **argv) if (status & UPSSTATUS_DISCHRG) { xasprintf (&ups_status, "%s%s", ups_status, _(", Discharging")); } - if (status & UPSSTATUS_UNKOWN) { + if (status & UPSSTATUS_UNKNOWN) { xasprintf (&ups_status, "%s%s", ups_status, _(", Unknown")); } } @@ -379,7 +379,7 @@ determine_status (void) else if (!strcmp (ptr, "DISCHRG")) status |= UPSSTATUS_DISCHRG; else - status |= UPSSTATUS_UNKOWN; + status |= UPSSTATUS_UNKNOWN; } return OK; |