projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix floating point option range formatting
[fio.git]
/
engines
/
net.c
diff --git
a/engines/net.c
b/engines/net.c
index 5f1401c6e04fb9aa9d1249750e25a4404fb8c9a9..4540e0e4d7c7eea9b9001f16cafb756225f3661a 100644
(file)
--- a/
engines/net.c
+++ b/
engines/net.c
@@
-9,13
+9,11
@@
#include <unistd.h>
#include <signal.h>
#include <errno.h>
#include <unistd.h>
#include <signal.h>
#include <errno.h>
-#include <assert.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <netdb.h>
-#include <sys/poll.h>
-#include <sys/types.h>
+#include <poll.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/un.h>
@@
-1218,7
+1216,7
@@
static int fio_netio_setup_listen_inet(struct thread_data *td, short port)
return 1;
}
if (is_ipv6(o)) {
return 1;
}
if (is_ipv6(o)) {
- log_err("fio: IPv6 not supported for multicast network IO");
+ log_err("fio: IPv6 not supported for multicast network IO
\n
");
close(fd);
return 1;
}
close(fd);
return 1;
}
@@
-1371,7
+1369,7
@@
static int fio_netio_setup(struct thread_data *td)
}
if (!td->io_ops_data) {
}
if (!td->io_ops_data) {
- nd = malloc(sizeof(*nd));
;
+ nd = malloc(sizeof(*nd));
memset(nd, 0, sizeof(*nd));
nd->listenfd = -1;
memset(nd, 0, sizeof(*nd));
nd->listenfd = -1;