diff options
author | 2016-04-05 21:24:02 +0000 | |
---|---|---|
committer | 2016-04-05 21:24:02 +0000 | |
commit | 42596f130c71b1525355bf62ca71a9658e3fbfab (patch) | |
tree | e676f1d4b4bded0feb6fc1718454d93647f378d1 /lib/libedit/read.c | |
parent | Use the "idr" API here as well, reducing the diffs to Linux. (diff) | |
download | wireguard-openbsd-42596f130c71b1525355bf62ca71a9658e3fbfab.tar.xz wireguard-openbsd-42596f130c71b1525355bf62ca71a9658e3fbfab.zip |
Move more fcntl(,F_GETFL,0) -> fcntl(,F_GETFL).
No functional change.
ok guenther@
Diffstat (limited to 'lib/libedit/read.c')
-rw-r--r-- | lib/libedit/read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/read.c b/lib/libedit/read.c index cf3186d327c..048f57f0098 100644 --- a/lib/libedit/read.c +++ b/lib/libedit/read.c @@ -1,4 +1,4 @@ -/* $OpenBSD: read.c,v 1.29 2016/03/22 11:32:18 schwarze Exp $ */ +/* $OpenBSD: read.c,v 1.30 2016/04/05 21:24:02 krw Exp $ */ /* $NetBSD: read.c,v 1.81 2016/02/16 22:53:14 christos Exp $ */ /*- @@ -146,7 +146,7 @@ read__fixio(int fd __attribute__((__unused__)), int e) e = 0; #ifdef TRY_AGAIN #if defined(F_SETFL) && defined(O_NDELAY) - if ((e = fcntl(fd, F_GETFL, 0)) == -1) + if ((e = fcntl(fd, F_GETFL)) == -1) return -1; if (fcntl(fd, F_SETFL, e & ~O_NDELAY) == -1) |