projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
errno is not negative
[fio.git]
/
engines
/
net.c
diff --git
a/engines/net.c
b/engines/net.c
index 0efd3369ab3ae6b9caf4f327682a9d30ffcb71bd..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)
{
#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)
{
return -1;
}
static int fio_netio_splice_out(struct thread_data *td, struct io_u *io_u)
{
- errno =
-
EOPNOTSUPP;
+ errno = EOPNOTSUPP;
return -1;
}
#endif
return -1;
}
#endif
@@
-426,7
+426,6
@@
static void fio_netio_cleanup(struct thread_data *td)
close(nd->pipes[1]);
free(nd);
close(nd->pipes[1]);
free(nd);
- td->io_ops->data = NULL;
}
}
}
}