diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-04-22 19:00:58 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-04-24 19:12:30 +0300 |
commit | eb5374be4a946e0ff3f198408068ed5e4718f1fb (patch) | |
tree | 8318652350fa622877ea2268f0226dc1bcc3d90f /tests/fs-tests/integrity | |
parent | d6035bcf5affd4e67d115cc9cf562a00a60c44e7 (diff) |
fs-tests: integck: make -v switch work
-v (verbose) switch is supposed to turn power cut testing error
messages on/off. However, it does not work because the messages
are printed even if -v was not specified. This patch fixes it.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/fs-tests/integrity')
-rw-r--r-- | tests/fs-tests/integrity/integck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fs-tests/integrity/integck.c b/tests/fs-tests/integrity/integck.c index 0f48377..372a348 100644 --- a/tests/fs-tests/integrity/integck.c +++ b/tests/fs-tests/integrity/integck.c @@ -70,7 +70,7 @@ } while(0) #define pcv(fmt, ...) do { \ - if (args.power_cut_mode) \ + if (args.power_cut_mode && args.verbose) \ normsg(fmt " (line %d)", ##__VA_ARGS__, __LINE__); \ } while(0) |