diff options
Diffstat (limited to 'src/tools/operf')
| -rw-r--r-- | src/tools/operf/operf_client.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/tools/operf/operf_client.c b/src/tools/operf/operf_client.c index 4ad26d13..df486380 100644 --- a/src/tools/operf/operf_client.c +++ b/src/tools/operf/operf_client.c @@ -21,7 +21,7 @@   */  #include <ouroboros/dev.h> -#include <ouroboros/fcntl.h> +#include <ouroboros/fccntl.h>  #include <ouroboros/time_utils.h>  #include <signal.h> @@ -68,7 +68,7 @@ void * reader(void * o)          int fd = *((int *) o);          int msg_len = 0; -        flow_set_timeout(fd, &timeout); +        fccntl(fd, FLOWSRCVTIMEO, &timeout);          while ((msg_len = flow_read(fd, buf, OPERF_BUF_SIZE)) != -ETIMEDOUT) {                  if (msg_len != client.size) { | 
