From 4373e97a88b21b50ca234d6c92c58f494875e43b Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 13 Nov 2012 08:30:56 -0700 Subject: [PATCH] Fix wrong return type on td_error_type() It returns enum error_type_bit, not error_type. Signed-off-by: Jens Axboe --- fio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fio.h b/fio.h index 1526d191..ca1a5f06 100644 --- a/fio.h +++ b/fio.h @@ -594,7 +594,7 @@ static inline void fio_ro_check(struct thread_data *td, struct io_u *io_u) #define REAL_MAX_JOBS 2048 -static inline enum error_type td_error_type(enum fio_ddir ddir, int err) +static inline enum error_type_bit td_error_type(enum fio_ddir ddir, int err) { if (err == EILSEQ) return ERROR_TYPE_VERIFY_BIT; -- 2.25.1