projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6d140f
)
backend: fix comparison of 'ret' pointer
author
Andrey Kuzmin
<andrey.v.kuzmin@gmail.com>
Fri, 4 Sep 2015 19:23:49 +0000
(13:23 -0600)
committer
Jens Axboe
<axboe@fb.com>
Fri, 4 Sep 2015 19:23:49 +0000
(13:23 -0600)
Commit
e9d512d8e7d2
abstracted out this code, but the assert()
was never changed.
Signed-off-by: Jens Axboe <axboe@fb.com>
backend.c
patch
|
blob
|
blame
|
history
diff --git
a/backend.c
b/backend.c
index d41c742b9edd070b48da42712bc86d4ab63bf9f8..dec0d55b0dbf3382cad2bfdfcfad9d4683d912a9 100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-540,7
+540,7
@@
sync_done:
*ret = ret2;
break;
default:
- assert(ret < 0);
+ assert(
*
ret < 0);
td_verror(td, -(*ret), "td_io_queue");
break;
}