diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2011-04-19 19:20:12 +0200 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2011-07-29 18:35:38 +0200 |
commit | 02af3cb5aac13d8ef7edb7876260564b7d42ad2b (patch) | |
tree | 6e5294ee57cb10340bd31301e7b38a29d4a6a054 /tools/power/cpupower/bench/main.c | |
parent | cpupowerutils: do not update po files on each and every compile (diff) | |
download | linux-dev-02af3cb5aac13d8ef7edb7876260564b7d42ad2b.tar.xz linux-dev-02af3cb5aac13d8ef7edb7876260564b7d42ad2b.zip |
cpupowerutils: bench - ConfigStyle bugfixes
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'tools/power/cpupower/bench/main.c')
-rw-r--r-- | tools/power/cpupower/bench/main.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/power/cpupower/bench/main.c b/tools/power/cpupower/bench/main.c index 60953fc93431..24910313a521 100644 --- a/tools/power/cpupower/bench/main.c +++ b/tools/power/cpupower/bench/main.c @@ -28,8 +28,7 @@ #include "system.h" #include "benchmark.h" -static struct option long_options[] = -{ +static struct option long_options[] = { {"output", 1, 0, 'o'}, {"sleep", 1, 0, 's'}, {"load", 1, 0, 'l'}, @@ -50,7 +49,7 @@ static struct option long_options[] = usage *******************************************************************/ -void usage() +void usage() { printf("usage: ./bench\n"); printf("Options:\n"); @@ -67,7 +66,7 @@ void usage() printf(" -o, --output=<dir>\t\t\toutput path. Filename will be OUTPUTPATH/benchmark_TIMESTAMP.log\n"); printf(" -v, --verbose\t\t\t\tverbose output on/off\n"); printf(" -h, --help\t\t\t\tPrint this help screen\n"); - exit (1); + exit(1); } /******************************************************************* |