summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libc/stdlib/rand.c2
-rw-r--r--src/lib/libc/stdlib/random.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/rand.c b/src/lib/libc/stdlib/rand.c
index ee2fd44bac..f163581e8d 100644
--- a/src/lib/libc/stdlib/rand.c
+++ b/src/lib/libc/stdlib/rand.c
@@ -55,7 +55,7 @@ rand(void)
55 55
56#if defined(APIWARN) 56#if defined(APIWARN)
57__warn_references(rand, 57__warn_references(rand,
58 "warning: rand() may return determinstic values, is that what you want?"); 58 "warning: rand() may return deterministic values, is that what you want?");
59#endif 59#endif
60 60
61void 61void
diff --git a/src/lib/libc/stdlib/random.c b/src/lib/libc/stdlib/random.c
index 0838d0bb35..96cced9a20 100644
--- a/src/lib/libc/stdlib/random.c
+++ b/src/lib/libc/stdlib/random.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: random.c,v 1.27 2014/12/16 20:42:36 deraadt Exp $ */ 1/* $OpenBSD: random.c,v 1.28 2014/12/16 20:51:32 sthen Exp $ */
2/* 2/*
3 * Copyright (c) 1983 Regents of the University of California. 3 * Copyright (c) 1983 Regents of the University of California.
4 * All rights reserved. 4 * All rights reserved.
@@ -418,5 +418,5 @@ random(void)
418 418
419#if defined(APIWARN) 419#if defined(APIWARN)
420__warn_references(random, 420__warn_references(random,
421 "warning: random() may return determinstic values, is that what you want?"); 421 "warning: random() may return deterministic values, is that what you want?");
422#endif 422#endif