summaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/net.c b/engines/net.c
index 45914776..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