From: Jens Axboe Date: Fri, 30 May 2008 20:58:28 +0000 (+0200) Subject: errno is not negative X-Git-Tag: fio-1.21-rc4~15 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=af8771b9b91eb2cd23a40aaa729bad4f78acb928;p=fio.git errno is not negative Signed-off-by: Jens Axboe --- 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