commit | 3a35845f7756a8a86b420650bff41267192dce22 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Tue Apr 15 09:07:44 2014 -0600 |
committer | Jens Axboe <axboe@fb.com> | Tue Apr 15 09:07:44 2014 -0600 |
tree | 4d7905bd6de7cf8b2a96821d5029add133222e14 | |
parent | affe05a916636af786ee66925038f6f2c74cf526 [diff] [blame] |
sg/binject: only restore file flags if they have been set Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/fio.h b/fio.h index 544916f..9eecba3 100644 --- a/fio.h +++ b/fio.h
@@ -441,7 +441,7 @@ extern int ioengine_load(struct thread_data *); extern int parse_dryrun(void); extern int fio_running_or_pending_io_threads(void); -extern void fio_set_fd_nonblocking(int, const char *); +extern int fio_set_fd_nonblocking(int, const char *); extern uintptr_t page_mask; extern uintptr_t page_size;