summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/libntp/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/libntp/socket.c')
-rw-r--r--contrib/ntp/libntp/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ntp/libntp/socket.c b/contrib/ntp/libntp/socket.c
index de678c6..11fb0046 100644
--- a/contrib/ntp/libntp/socket.c
+++ b/contrib/ntp/libntp/socket.c
@@ -78,7 +78,7 @@ move_fd(
static SOCKET socket_boundary = -1;
SOCKET newfd;
- NTP_REQUIRE((int)fd >= 0);
+ REQUIRE((int)fd >= 0);
/*
* check whether boundary has be set up
@@ -115,7 +115,7 @@ move_fd(
socket_boundary));
} while (socket_boundary > 0);
#else
- NTP_REQUIRE((int)fd >= 0);
+ ENSURE((int)fd >= 0);
#endif /* !defined(SYS_WINNT) && defined(F_DUPFD) */
return fd;
}
OpenPOWER on IntegriCloud