diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2021-10-02 12:47:50 +0200 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2021-10-02 12:47:50 +0200 |
commit | d2f2da175eda5a06291a974d971968a1241d7935 (patch) | |
tree | 41b996a820bd3352962feb0685e73df2ef750e3f /plugins/check_swap.c | |
parent | f55ea7632f4284a0b8858361270337bd9fde9a60 (diff) | |
download | monitoring-plugins-d2f2da175eda5a06291a974d971968a1241d7935.tar.gz |
Change all to comments to old comment style
Diffstat (limited to 'plugins/check_swap.c')
-rw-r--r-- | plugins/check_swap.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c index 6dec9b28..4d124a35 100644 --- a/plugins/check_swap.c +++ b/plugins/check_swap.c @@ -466,7 +466,7 @@ process_arguments (int argc, char **argv) length = strlen(optarg); if (optarg[length - 1] == '%') { - // It's percentage! + /* It's percentage */ warn.is_percentage = true; optarg[length - 1] = '\0'; if (is_uint64(optarg, &warn.value)) { @@ -477,7 +477,7 @@ process_arguments (int argc, char **argv) } } } else { - // It's Bytes + /* It's Bytes */ warn.is_percentage = false; if (is_uint64(optarg, &warn.value)) { break; @@ -497,7 +497,7 @@ process_arguments (int argc, char **argv) length = strlen(optarg); if (optarg[length - 1] == '%') { - // It's percentage! + /* It's percentage */ crit.is_percentage = true; optarg[length - 1] = '\0'; if (is_uint64(optarg, &crit.value)) { @@ -508,6 +508,7 @@ process_arguments (int argc, char **argv) } } } else { + /* It's Bytes */ crit.is_percentage = false; if (is_uint64(optarg, &crit.value)) { break; |