projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98dc2db
)
Fix bad check for terse version format 4
author
Jens Axboe
<axboe@kernel.dk>
Thu, 4 Oct 2012 15:06:49 +0000
(17:06 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 4 Oct 2012 15:07:26 +0000
(17:07 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
init.c
patch
|
blob
|
blame
|
history
diff --git
a/init.c
b/init.c
index 2ad039b8780d9ae788c8a9fab598b3724ae3cc5d..23be863141a3ff670d84780eccb52b924ab0cb66 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-1456,8
+1456,8
@@
int parse_cmd_line(int argc, char *argv[])
break;
case 'V':
terse_version = atoi(optarg);
- if (!(terse_version == 2 || terse_version == 3
)
||
-
(
terse_version == 4)) {
+ if (!(terse_version == 2 || terse_version == 3 ||
+ terse_version == 4)) {
log_err("fio: bad terse version format\n");
exit_val = 1;
do_exit++;