X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=ioengines.c;h=c94fcb30c23b87ccea185b88c642081864017111;hp=b086b60c9d3e156c4c9781b6e3f868577285f37b;hb=eb8bbf48e79a8c6afd3c84e3d64263d10ee45daa;hpb=5c4e1dbc4ec6ee963220c5f4e64a04cd6130dc81 diff --git a/ioengines.c b/ioengines.c index b086b60c..c94fcb30 100644 --- a/ioengines.c +++ b/ioengines.c @@ -610,7 +610,7 @@ static int fio_sgio_prep(struct thread_data *td, struct io_u *io_u) int nr_blocks, lba; if (io_u->buflen & (sd->bs - 1)) { - fprintf(stderr, "read/write not sector aligned\n"); + fprintf(f_err, "read/write not sector aligned\n"); return EINVAL; } @@ -718,7 +718,7 @@ int fio_sgio_init(struct thread_data *td) if (ret) return ret; } else { - fprintf(stderr, "ioengine sgio only works on block devices\n"); + fprintf(f_err, "ioengine sgio only works on block devices\n"); return 1; }