From: Jens Axboe Date: Tue, 13 Nov 2012 15:30:56 +0000 (-0700) Subject: Fix wrong return type on td_error_type() X-Git-Tag: fio-2.0.11~9 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=4373e97a88b21b50ca234d6c92c58f494875e43b;p=fio.git Fix wrong return type on td_error_type() It returns enum error_type_bit, not error_type. Signed-off-by: Jens Axboe --- 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;