X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=engines%2Fnet.c;h=0acd569d37bfc790f210464a145321ec08b039b8;hp=45914776d0b9c47a4d5110d7c575c7f4f4ddf2c7;hb=7292056a38857ded6f7a64f11d14d642772c31bd;hpb=2992b059b8f54ac91e723a8bde629b4d8fed513e diff --git a/engines/net.c b/engines/net.c index 45914776..0acd569d 100644 --- a/engines/net.c +++ b/engines/net.c @@ -13,6 +13,8 @@ #include #include #include +#include +#include #include "../fio.h" @@ -165,13 +167,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