mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-10 09:10:08 -04:00
Fix some typos with units
This commit is contained in:
parent
430c641d9c
commit
d6d394fb0e
1 changed files with 6 additions and 6 deletions
|
|
@ -520,17 +520,17 @@ check_disk_config_wrapper process_arguments(int argc, char **argv) {
|
|||
} else if (!strcmp(optarg, "MB")) {
|
||||
unit = MegaBytes_factor;
|
||||
} else if (!strcmp(optarg, "GiB")) {
|
||||
unit = MegaBytes_factor;
|
||||
unit = GibiBytes_factor;
|
||||
} else if (!strcmp(optarg, "GB")) {
|
||||
unit = MegaBytes_factor;
|
||||
unit = GigaBytes_factor;
|
||||
} else if (!strcmp(optarg, "TiB")) {
|
||||
unit = MegaBytes_factor;
|
||||
unit = TebiBytes_factor;
|
||||
} else if (!strcmp(optarg, "TB")) {
|
||||
unit = MegaBytes_factor;
|
||||
unit = TeraBytes_factor;
|
||||
} else if (!strcmp(optarg, "PiB")) {
|
||||
unit = MegaBytes_factor;
|
||||
unit = PebiBytes_factor;
|
||||
} else if (!strcmp(optarg, "PB")) {
|
||||
unit = PetaBytes;
|
||||
unit = PetaBytes_factor;
|
||||
} else {
|
||||
die(STATE_UNKNOWN, _("unit type %s not known\n"), optarg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue