Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sasha0552 authored Aug 27, 2024
1 parent aaa876b commit 6ce87ca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,11 @@ int main(int argc, char *argv[]) {
printf("Usage: %s [options]\n", argv[0]);
printf("\n");
printf("Options:\n");
printf(" -ibs, --iterations-before-switch <value> Set the number of iterations to wait before switching states (default: %lu)\n", ITERATIONS_BEFORE_SWITCH);
printf(" -psh, --performance-state-high <value> Set the high performance state for the GPU (default: %lu)\n", PERFORMANCE_STATE_HIGH);
printf(" -psl, --performance-state-low <value> Set the low performance state for the GPU (default: %lu)\n", PERFORMANCE_STATE_LOW);
printf(" -si, --sleep-interval <value> Set the sleep interval in milliseconds between utilization checks (default: %lu)\n", SLEEP_INTERVAL);
printf(" -tt, --temperature-threshold <value> Set the temperature threshold in degrees C (default: %lu)\n", TEMPERATURE_THRESHOLD);
printf(" -ibs, --iterations-before-switch <value> Set the number of iterations to wait before switching states (default: %u)\n", ITERATIONS_BEFORE_SWITCH);
printf(" -psh, --performance-state-high <value> Set the high performance state for the GPU (default: %u)\n", PERFORMANCE_STATE_HIGH);
printf(" -psl, --performance-state-low <value> Set the low performance state for the GPU (default: %u)\n", PERFORMANCE_STATE_LOW);
printf(" -si, --sleep-interval <value> Set the sleep interval in milliseconds between utilization checks (default: %u)\n", SLEEP_INTERVAL);
printf(" -tt, --temperature-threshold <value> Set the temperature threshold in degrees C (default: %u)\n", TEMPERATURE_THRESHOLD);

// Jump to the error handling code
goto errored;
Expand Down

0 comments on commit 6ce87ca

Please sign in to comment.