From 2123407555a8a039a48a3bbe8fa9edbe43401803 Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 28 Nov 2017 06:55:49 +0000 Subject: GNU ld has prefixed the contents of .gnu.warning.SYMBOL sections with "warning: " since 2003, so the messages themselves need not contain the prefix anymore. From Scott Cheloha ok jca, deraadt --- src/lib/libc/stdlib/rand.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/libc/stdlib/rand.c') diff --git a/src/lib/libc/stdlib/rand.c b/src/lib/libc/stdlib/rand.c index f4a8d20afa..97964f6ef9 100644 --- a/src/lib/libc/stdlib/rand.c +++ b/src/lib/libc/stdlib/rand.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rand.c,v 1.17 2016/10/22 19:19:34 tb Exp $ */ +/* $OpenBSD: rand.c,v 1.18 2017/11/28 06:55:49 tb Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. @@ -44,7 +44,7 @@ DEF_WEAK(rand_r); #if defined(APIWARN) __warn_references(rand_r, - "warning: rand_r() is not random, it is deterministic."); + "rand_r() is not random, it is deterministic."); #endif int @@ -57,7 +57,7 @@ rand(void) #if defined(APIWARN) __warn_references(rand, - "warning: rand() may return deterministic values, is that what you want?"); + "rand() may return deterministic values, is that what you want?"); #endif void -- cgit v1.2.3-55-g6feb