projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
523bfad
)
Let parse_options() decide on when parsing failed
author
Jens Axboe
<jens.axboe@oracle.com>
Wed, 4 Apr 2007 09:04:34 +0000
(11:04 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 4 Apr 2007 09:04:34 +0000
(11:04 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fio.c
patch
|
blob
|
blame
|
history
diff --git
a/fio.c
b/fio.c
index a945b856eaf86afe018cb181e083df7a1636712e..89cc5996ca8854c9b9c655a232a366e8d278c9d7 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-1209,10
+1209,8
@@
int main(int argc, char *argv[])
if (parse_options(argc, argv))
return 1;
- if (!thread_number) {
- log_err("Nothing to do\n");
- return 1;
- }
+ if (!thread_number)
+ return 0;
ps = sysconf(_SC_PAGESIZE);
if (ps < 0) {