diff options
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/rand.c | 6 | ||||
-rw-r--r-- | lib/libc/stdlib/random.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/stdlib/rand.c b/lib/libc/stdlib/rand.c index f4a8d20afa3..97964f6ef93 100644 --- a/lib/libc/stdlib/rand.c +++ b/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 diff --git a/lib/libc/stdlib/random.c b/lib/libc/stdlib/random.c index 41d5f64b583..62a0c24bdbd 100644 --- a/lib/libc/stdlib/random.c +++ b/lib/libc/stdlib/random.c @@ -1,4 +1,4 @@ -/* $OpenBSD: random.c,v 1.30 2016/04/05 04:29:21 guenther Exp $ */ +/* $OpenBSD: random.c,v 1.31 2017/11/28 06:55:49 tb Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. * All rights reserved. @@ -415,5 +415,5 @@ random(void) #if defined(APIWARN) __warn_references(random, - "warning: random() may return deterministic values, is that what you want?"); + "random() may return deterministic values, is that what you want?"); #endif |