diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-12-16 20:42:37 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-12-16 20:42:37 +0000 |
commit | 728d41d64993a144aa8d0c0b685258d2dbc43f6b (patch) | |
tree | 9ad8cbabf8d5364e764c15ece81ceb54d4a0bdf9 | |
parent | e82c77965eeddfeb72ad3da9bf2fe1f315de6340 (diff) |
warn for correct symbol
-rw-r--r-- | lib/libc/stdlib/random.c | 4 |
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 |