summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/isc/unix/entropy.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2016-04-16 18:32:29 +0000
committerkrw <krw@openbsd.org>2016-04-16 18:32:29 +0000
commitc8939cf402299d704d258ef2a9e9ffd317bc33f3 (patch)
tree4f2e525846ffb7fafc473d6647db6e5d2e170c0f /usr.sbin/bind/lib/isc/unix/entropy.c
parentMake the gmbus code work on valleyview. (diff)
downloadwireguard-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/entropy.c')
-rw-r--r--usr.sbin/bind/lib/isc/unix/entropy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bind/lib/isc/unix/entropy.c b/usr.sbin/bind/lib/isc/unix/entropy.c
index 57609868a57..ebe812129fb 100644
--- a/usr.sbin/bind/lib/isc/unix/entropy.c
+++ b/usr.sbin/bind/lib/isc/unix/entropy.c
@@ -452,7 +452,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