From af8771b9b91eb2cd23a40aaa729bad4f78acb928 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 30 May 2008 22:58:28 +0200 Subject: errno is not negative Signed-off-by: Jens Axboe --- engines/net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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 -- cgit v1.2.3