On 2011-06-03 21:14, Steven Lang wrote: > The wrong ddir enum was being used here, which trips up compilers > which want to strictly check enum usage. > > diff --git a/fio.c b/fio.c > index 76c6ebd..34956e9 100644 > --- a/fio.c > +++ b/fio.c > @@ -180,7 +180,7 @@ static void set_sig_handlers(void) > * Check if we are above the minimum rate given. > */ > static int __check_min_rate(struct thread_data *td, struct timeval *now, > - enum td_ddir ddir) > + enum fio_ddir ddir) > { > unsigned long long bytes = 0; > unsigned long iops = 0; Oops, thanks and applied. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html