X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=engines%2Fsplice.c;h=a20f4e034eb76e807c30e046294780b61756c757;hb=ad2da605a62faf16887970618b434db19594e17b;hp=5c4411cce3bcdfdecdfe3f40a5b2e0d3530fd66a;hpb=22819ec237297fc39435ed566bee01a4225bfb39;p=fio.git 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; }