diff options
| author | 2016-04-16 18:32:29 +0000 | |
|---|---|---|
| committer | 2016-04-16 18:32:29 +0000 | |
| commit | c8939cf402299d704d258ef2a9e9ffd317bc33f3 (patch) | |
| tree | 4f2e525846ffb7fafc473d6647db6e5d2e170c0f /usr.sbin/bind/lib/isc/unix/socket.c | |
| parent | Make the gmbus code work on valleyview. (diff) | |
| download | wireguard-openbsd-c8939cf402299d704d258ef2a9e9ffd317bc33f3.tar.xz wireguard-openbsd-c8939cf402299d704d258ef2a9e9ffd317bc33f3.zip | |
Change last non-/gnu/ fcntl(x, F_GETFL, 0) strays to fcntl(x, F_GETFL).
No functional change.
ok millert@
Diffstat (limited to 'usr.sbin/bind/lib/isc/unix/socket.c')
| -rw-r--r-- | usr.sbin/bind/lib/isc/unix/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bind/lib/isc/unix/socket.c b/usr.sbin/bind/lib/isc/unix/socket.c index 98bf327c19a..34f75e023c6 100644 --- a/usr.sbin/bind/lib/isc/unix/socket.c +++ b/usr.sbin/bind/lib/isc/unix/socket.c @@ -491,7 +491,7 @@ make_nonblock(int fd) { ret = ioctl(fd, FIONBIO, (char *)&on); #else - flags = fcntl(fd, F_GETFL, 0); + flags = fcntl(fd, F_GETFL); flags |= PORT_NONBLOCK; ret = fcntl(fd, F_SETFL, flags); #endif |
