diff options
author | sthen <> | 2014-12-16 20:51:32 +0000 |
---|---|---|
committer | sthen <> | 2014-12-16 20:51:32 +0000 |
commit | 1711181cf04802398af99b3d8ffff8829eb38455 (patch) | |
tree | 6d921789ca743118a3410119891f5989189a733f | |
parent | 5aa651ea1f4fe51c284c233c6f00b23db2e740e2 (diff) | |
download | openbsd-1711181cf04802398af99b3d8ffff8829eb38455.tar.gz openbsd-1711181cf04802398af99b3d8ffff8829eb38455.tar.bz2 openbsd-1711181cf04802398af99b3d8ffff8829eb38455.zip |
typo; ok deraadt
-rw-r--r-- | src/lib/libc/stdlib/rand.c | 2 | ||||
-rw-r--r-- | src/lib/libc/stdlib/random.c | 4 |
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 | ||
61 | void | 61 | void |
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 |