diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-05-30 22:58:28 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-05-30 22:58:28 +0200 |
commit | af8771b9b91eb2cd23a40aaa729bad4f78acb928 (patch) | |
tree | 8d5ceac2ba273d477a3fe58b7ad20c67755d695f /engines | |
parent | 72c234e50c49eb631dd84d8e5d110fa2bd73b303 (diff) | |
download | fio-af8771b9b91eb2cd23a40aaa729bad4f78acb928.tar.gz |
errno is not negative
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'engines')
-rw-r--r-- | engines/net.c | 4 |
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 |