projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c234e
)
errno is not negative
author
Jens Axboe
<jens.axboe@oracle.com>
Fri, 30 May 2008 20:58:28 +0000
(22:58 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Fri, 30 May 2008 20:58:28 +0000
(22:58 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/net.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/net.c
b/engines/net.c
index 45914776d0b9c47a4d5110d7c575c7f4f4ddf2c7..94bae95af988e167143c089d015a1eda58b81d05 100644
(file)
--- 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