commit | 71b84caab6ef5ddbc7893e3268887b8ff0516f75 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Mon Apr 14 12:01:45 2014 -0600 |
committer | Jens Axboe <axboe@fb.com> | Mon Apr 14 12:01:45 2014 -0600 |
tree | b79e78b973c077f30589f2b67a53ecd90eb845dd | |
parent | 66f7a56f70e40e9e953c47fae3a3432e87cd0cb7 [diff] [blame] |
td_verror() needs errno style error put_file_log() could pass in -1, we need the actual error instead. Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/io_u.c b/io_u.c index 411da32..4b0b5a7 100644 --- a/io_u.c +++ b/io_u.c
@@ -678,7 +678,7 @@ void put_file_log(struct thread_data *td, struct fio_file *f) { - int ret = put_file(td, f); + unsigned int ret = put_file(td, f); if (ret) td_verror(td, ret, "file close");