From 0e6cb3cf7bb24f0a708779ffaceef921ec646abc Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 16 Dec 2014 20:42:36 +0000 Subject: [PATCH] warn for correct symbol --- lib/libc/stdlib/random.c | 4 ++-- 1 file 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 -- 2.20.1