X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=engines%2Fnet.c;h=94bae95af988e167143c089d015a1eda58b81d05;hb=af8771b9b91eb2cd23a40aaa729bad4f78acb928;hp=0efd3369ab3ae6b9caf4f327682a9d30ffcb71bd;hpb=5921e80c5dfc9f96d2f21da6ae58f2b5d3a0b373;p=fio.git diff --git a/engines/net.c b/engines/net.c index 0efd3369..94bae95a 100644 --- a/engines/net.c +++ b/engines/net.c @@ -165,13 +165,13 @@ static int fio_netio_splice_out(struct thread_data *td, struct io_u *io_u) #else static int fio_netio_splice_in(struct thread_data *td, struct io_u *io_u) { - errno = -EOPNOTSUPP; + errno = EOPNOTSUPP; return -1; } static int fio_netio_splice_out(struct thread_data *td, struct io_u *io_u) { - errno = -EOPNOTSUPP; + errno = EOPNOTSUPP; return -1; } #endif @@ -426,7 +426,6 @@ static void fio_netio_cleanup(struct thread_data *td) close(nd->pipes[1]); free(nd); - td->io_ops->data = NULL; } }