summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/random.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-12-16 20:42:36 +0000
committerderaadt <deraadt@openbsd.org>2014-12-16 20:42:36 +0000
commit0e6cb3cf7bb24f0a708779ffaceef921ec646abc (patch)
treeb077c3e2f5175899a2dbc639d9f2423225b52ed8 /lib/libc/stdlib/random.c
parentmust include lock.h if you want to play with locks (diff)
downloadwireguard-openbsd-0e6cb3cf7bb24f0a708779ffaceef921ec646abc.tar.xz
wireguard-openbsd-0e6cb3cf7bb24f0a708779ffaceef921ec646abc.zip
warn for correct symbol
Diffstat (limited to 'lib/libc/stdlib/random.c')
-rw-r--r--lib/libc/stdlib/random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/random.c b/lib/libc/stdlib/random.c
index 375bfbd0e67..0838d0bb359 100644
--- a/lib/libc/stdlib/random.c
+++ b/lib/libc/stdlib/random.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: random.c,v 1.26 2014/12/09 08:00:53 deraadt Exp $ */
+/* $OpenBSD: random.c,v 1.27 2014/12/16 20:42:36 deraadt Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
* All rights reserved.
@@ -417,6 +417,6 @@ random(void)
}
#if defined(APIWARN)
-__warn_references(rand,
+__warn_references(random,
"warning: random() may return determinstic values, is that what you want?");
#endif