From: deraadt Date: Tue, 16 Dec 2014 20:42:36 +0000 (+0000) Subject: warn for correct symbol X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0e6cb3cf7bb24f0a708779ffaceef921ec646abc;p=openbsd warn for correct symbol --- 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