projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0a3c52f
)
Fix missing sign conversion in ignore_error_type()
author
Jens Axboe
<axboe@fb.com>
Mon, 14 Apr 2014 14:59:17 +0000
(08:59 -0600)
committer
Jens Axboe
<axboe@fb.com>
Mon, 14 Apr 2014 14:59:17 +0000
(08:59 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index 9096a322bbc089db652662f8a1b04defd3f228b3..50af7b499f4b37bfcda231dcfef0aaebf9e8d7f8 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-269,7
+269,7
@@
static int ignore_error_type(struct thread_data *td, int etype, char *str)
} else {
error[i] = atoi(fname);
if (error[i] < 0)
} else {
error[i] = atoi(fname);
if (error[i] < 0)
- error[i] = error[i];
+ error[i] =
-
error[i];
}
if (!error[i]) {
log_err("Unknown error %s, please use number value \n",
}
if (!error[i]) {
log_err("Unknown error %s, please use number value \n",