X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=engines%2Fsync.c;h=ad02e09464f1935de33dc4a726ecef4edc3a8db8;hp=5cf73662ad6dcc9f1e9893f12e34a3669d6e5124;hb=0be06ea2c87ecf1751a01ed528a2d3170bdca543;hpb=22819ec237297fc39435ed566bee01a4225bfb39;ds=sidebyside diff --git a/engines/sync.c b/engines/sync.c index 5cf73662..ad02e094 100644 --- a/engines/sync.c +++ b/engines/sync.c @@ -21,7 +21,7 @@ static int fio_syncio_prep(struct thread_data *td, struct io_u *io_u) return 0; if (lseek(f->fd, io_u->offset, SEEK_SET) == -1) { - td_verror(td, errno); + td_verror(td, errno, "lseek"); return 1; } @@ -50,7 +50,7 @@ static int fio_syncio_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; }