Skip to content

Commit

Permalink
Merge pull request #138 from madrisan/issues-137
Browse files Browse the repository at this point in the history
fix(check_cpufreq): wrong factor in check_cpufreq for -G
  • Loading branch information
madrisan authored Jan 25, 2024
2 parents 2ea02e2 + 815497b commit 769cb08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Contributors:
nE0sIghT - https://github.com/nE0sIghT
Bug report and patch for fixing check_network
when run in a containerized environment
ggzengel - https://github.com/ggzengel
Bug report (issues#137)

Some code and coding styles/ideas belong to the following open source projects:

Expand Down
2 changes: 1 addition & 1 deletion plugins/check_cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ main (int argc, char **argv)
case 'H': factor = 1000.0; break;
case 'K': factor = 1.0; break;
case 'M': factor = 1.0/1000; break;
case 'G': factor = 1.0/100000; break;
case 'G': factor = 1.0/1000000; break;

case_GETOPT_HELP_CHAR
case_GETOPT_VERSION_CHAR
Expand Down

0 comments on commit 769cb08

Please sign in to comment.