warn for correct symbol
authorderaadt <deraadt@openbsd.org>
Tue, 16 Dec 2014 20:42:36 +0000 (20:42 +0000)
committerderaadt <deraadt@openbsd.org>
Tue, 16 Dec 2014 20:42:36 +0000 (20:42 +0000)
lib/libc/stdlib/random.c

index 375bfbd..0838d0b 100644 (file)
@@ -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