summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-01-19 12:33:51 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-01-19 12:33:51 +0100
commit35651820abe54473964cc1832fdfe23d7af3209a (patch)
treea70f688bd2d80e9b4debd895dd6aae3cee96d527
parent371d456c48b73c8a424e4c807c511fc891a38e7d (diff)
downloadfio-35651820abe54473964cc1832fdfe23d7af3209a.tar.gz
fio-35651820abe54473964cc1832fdfe23d7af3209a.tar.bz2
net engine: don't pass in flags
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--engines/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/net.c b/engines/net.c
index fd01089c..afb3265c 100644
--- a/engines/net.c
+++ b/engines/net.c
@@ -231,7 +231,7 @@ static int fio_netio_send(struct thread_data *td, struct io_u *io_u)
if (nd->net_protocol == IPPROTO_UDP) {
return sendto(io_u->file->fd, io_u->xfer_buf, io_u->xfer_buflen,
- flags, &nd->addr, sizeof(nd->addr));
+ 0, &nd->addr, sizeof(nd->addr));
} else {
return send(io_u->file->fd, io_u->xfer_buf, io_u->xfer_buflen,
flags);