X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=options.c;h=4c4725897db46c2f5d336468bd7b4b3c55cd63c1;hb=59f94d26f98e9c0bc18d4e013f3361c51a2c6b25;hp=1e91b3e9e23a79eb780b35c22e9cd7681e82ab58;hpb=e1e6d335854d1a233f167cd443bc2dc71460ec57;p=fio.git diff --git a/options.c b/options.c index 1e91b3e9..4c472589 100644 --- a/options.c +++ b/options.c @@ -22,7 +22,7 @@ char client_sockaddr_str[INET6_ADDRSTRLEN] = { 0 }; static const struct pattern_fmt_desc fmt_desc[] = { { .fmt = "%o", - .len = FIELD_SIZE(struct io_u *, offset), + .len = FIO_FIELD_SIZE(struct io_u *, offset), .paste = paste_blockoff }, { } @@ -1387,7 +1387,7 @@ static int str_verify_pattern_cb(void *data, const char *input) struct thread_data *td = cb_data_to_td(data); int ret; - td->o.verify_fmt_sz = ARRAY_SIZE(td->o.verify_fmt); + td->o.verify_fmt_sz = FIO_ARRAY_SIZE(td->o.verify_fmt); ret = parse_and_fill_pattern(input, strlen(input), td->o.verify_pattern, MAX_PATTERN_SIZE, fmt_desc, td->o.verify_fmt, &td->o.verify_fmt_sz);