diff options
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 bbd963a9..a498d203 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c | |||
@@ -403,7 +403,7 @@ get_ups_variable (const char *varname, char *buf, size_t buflen) | |||
403 | int len; | 403 | int len; |
404 | 404 | ||
405 | *buf=0; | 405 | *buf=0; |
406 | 406 | ||
407 | /* create the command string to send to the UPS daemon */ | 407 | /* create the command string to send to the UPS daemon */ |
408 | /* Add LOGOUT to avoid read failure logs */ | 408 | /* Add LOGOUT to avoid read failure logs */ |
409 | sprintf (send_buffer, "GET VAR %s %s\nLOGOUT\n", ups_name, varname); | 409 | sprintf (send_buffer, "GET VAR %s %s\nLOGOUT\n", ups_name, varname); |
@@ -453,7 +453,7 @@ get_ups_variable (const char *varname, char *buf, size_t buflen) | |||
453 | } | 453 | } |
454 | 454 | ||
455 | 455 | ||
456 | /* Command line: CHECK_UPS -H <host_address> -u ups [-p port] [-v variable] | 456 | /* Command line: CHECK_UPS -H <host_address> -u ups [-p port] [-v variable] |
457 | [-wv warn_value] [-cv crit_value] [-to to_sec] */ | 457 | [-wv warn_value] [-cv crit_value] [-to to_sec] */ |
458 | 458 | ||
459 | 459 | ||
@@ -508,7 +508,7 @@ process_arguments (int argc, char **argv) | |||
508 | usage2 (_("Invalid hostname/address"), optarg); | 508 | usage2 (_("Invalid hostname/address"), optarg); |
509 | } | 509 | } |
510 | break; | 510 | break; |
511 | case 'T': /* FIXME: to be improved (ie "-T C" for Celsius or "-T F" for Farenheit) */ | 511 | case 'T': /* FIXME: to be improved (ie "-T C" for Celsius or "-T F" for Farenheit) */ |
512 | temp_output_c = 1; | 512 | temp_output_c = 1; |
513 | break; | 513 | break; |
514 | case 'u': /* ups name */ | 514 | case 'u': /* ups name */ |