diff options
author | uwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-03-13 17:28:29 +0000 |
---|---|---|
committer | uwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-03-13 17:28:29 +0000 |
commit | e7bc4db23f5570c9092d5af4c90f584d31f8d9c2 (patch) | |
tree | 76c0a1816f51012775006aa8c82bdfe78901b5ab /cli_output.c | |
parent | 141b17700e05f342020512417c8766ed7909fa9a (diff) | |
download | flashrom-e7bc4db23f5570c9092d5af4c90f584d31f8d9c2.tar.gz |
Various coding style and cosmetic changes (trivial).
- Fix coding-style, whitespace, and indentation in a few places.
- Consistently use the same spelling ("Super I/O") everywhere.
- Make some flashrom stdout output look a bit nicer.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@933 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'cli_output.c')
-rw-r--r-- | cli_output.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cli_output.c b/cli_output.c index 2ced043..b3d4e04 100644 --- a/cli_output.c +++ b/cli_output.c @@ -27,25 +27,25 @@ int print(int type, const char *fmt, ...) va_list ap; int ret; FILE *output_type; - - switch (type) - { + + switch (type) { case MSG_ERROR: output_type = stderr; break; case MSG_BARF: - if (verbose < 2) return 0; + if (verbose < 2) + return 0; case MSG_DEBUG: - if (verbose < 1) return 0; + if (verbose < 1) + return 0; case MSG_INFO: default: output_type = stdout; break; } - + va_start(ap, fmt); ret = vfprintf(output_type, fmt, ap); va_end(ap); return ret; } - |