X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;h=6d799bfe0e67871f5b3345148f0cc525a5624916;hp=4214f2451da826505a3f125f3ee9b8c6d2f8efd2;hb=fdbc9102c79c1a6d4134d5f5b8692658b2cf67ef;hpb=d503e281987cea0d706444eee7a447a11db7b6be diff --git a/options.c b/options.c index 4214f245..6d799bfe 100644 --- a/options.c +++ b/options.c @@ -270,7 +270,8 @@ static int str2error(char *str) return 0; } -static int ignore_error_type(struct thread_data *td, int etype, char *str) +static int ignore_error_type(struct thread_data *td, enum error_type_bit etype, + char *str) { unsigned int i; int *error; @@ -331,7 +332,8 @@ static int str_ignore_error_cb(void *data, const char *input) { struct thread_data *td = cb_data_to_td(data); char *str, *p, *n; - int type = 0, ret = 1; + int ret = 1; + enum error_type_bit type = 0; if (parse_dryrun()) return 0;