X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=engines%2Fsplice.c;h=a20f4e034eb76e807c30e046294780b61756c757;hp=5c4411cce3bcdfdecdfe3f40a5b2e0d3530fd66a;hb=e1161c325f7866bae879e686d1c673ca32ab09ae;hpb=94cd00dd6cf1cec4c593a74aabfbb79f4d80afb6 diff --git a/engines/splice.c b/engines/splice.c index 5c4411cc..a20f4e03 100644 --- a/engines/splice.c +++ b/engines/splice.c @@ -125,7 +125,7 @@ static int fio_spliceio_queue(struct thread_data *td, struct io_u *io_u) } if (io_u->error) - td_verror(td, io_u->error); + td_verror(td, io_u->error, "xfer"); return FIO_Q_COMPLETED; } @@ -147,7 +147,7 @@ static int fio_spliceio_init(struct thread_data *td) struct spliceio_data *sd = malloc(sizeof(*sd)); if (pipe(sd->pipe) < 0) { - td_verror(td, errno); + td_verror(td, errno, "pipe"); free(sd); return 1; }