projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Duplicate name checks in ioengines.c
[fio.git]
/
engines
/
splice.c
diff --git
a/engines/splice.c
b/engines/splice.c
index 5c4411cce3bcdfdecdfe3f40a5b2e0d3530fd66a..a20f4e034eb76e807c30e046294780b61756c757 100644
(file)
--- 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)
}
if (io_u->error)
- td_verror(td, io_u->error);
+ td_verror(td, io_u->error
, "xfer"
);
return FIO_Q_COMPLETED;
}
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) {
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;
}
free(sd);
return 1;
}