summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2014-12-16 20:51:33 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2014-12-16 20:51:33 +0000
commitc0c9ca961961153e3a595d80c5fcdf346b3894ae (patch)
tree3f2ca2a9d4c16d6b1e771ec0afd820cc4d22b316 /lib
parent728d41d64993a144aa8d0c0b685258d2dbc43f6b (diff)
typo; ok deraadt
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/rand.c2
-rw-r--r--lib/libc/stdlib/random.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/rand.c b/lib/libc/stdlib/rand.c
index ee2fd44bac6..f163581e8d7 100644
--- a/lib/libc/stdlib/rand.c
+++ b/lib/libc/stdlib/rand.c
@@ -55,7 +55,7 @@ rand(void)
#if defined(APIWARN)
__warn_references(rand,
- "warning: rand() may return determinstic values, is that what you want?");
+ "warning: 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 0838d0bb359..96cced9a204 100644
--- a/lib/libc/stdlib/random.c
+++ b/lib/libc/stdlib/random.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: random.c,v 1.27 2014/12/16 20:42:36 deraadt Exp $ */
+/* $OpenBSD: random.c,v 1.28 2014/12/16 20:51:32 sthen Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
* All rights reserved.
@@ -418,5 +418,5 @@ random(void)
#if defined(APIWARN)
__warn_references(random,
- "warning: random() may return determinstic values, is that what you want?");
+ "warning: random() may return deterministic values, is that what you want?");
#endif