summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/nsd/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nsd/util.c b/usr.sbin/nsd/util.c
index b294e8870f6..2a50c15a5c4 100644
--- a/usr.sbin/nsd/util.c
+++ b/usr.sbin/nsd/util.c
@@ -962,5 +962,5 @@ addr2ip(
uint16_t
qid_generate()
{
- return (uint16_t) random();
+ return (uint16_t) arc4random();
}