diff options
author | matt <matt@NetBSD.org> | 2008-02-02 17:45:05 +0000 |
---|---|---|
committer | matt <matt@NetBSD.org> | 2008-02-02 17:45:05 +0000 |
commit | 96e482171532f6e559de260220770bcb7d374617 (patch) | |
tree | 337ee3457dc9cb8e009e73f87162f0f90b811343 /primes | |
parent | fef7ed4a818ae2602a1c2dc4c1bc4e103ab759dd (diff) | |
download | bsdgames-darwin-96e482171532f6e559de260220770bcb7d374617.tar.gz bsdgames-darwin-96e482171532f6e559de260220770bcb7d374617.tar.zst bsdgames-darwin-96e482171532f6e559de260220770bcb7d374617.zip |
Fix typo: sive -> sieve.
Diffstat (limited to 'primes')
-rw-r--r-- | primes/primes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/primes/primes.c b/primes/primes.c index 95b90a6e..dd29545a 100644 --- a/primes/primes.c +++ b/primes/primes.c @@ -1,4 +1,4 @@ -/* $NetBSD: primes.c,v 1.13 2007/12/15 19:44:42 perry Exp $ */ +/* $NetBSD: primes.c,v 1.14 2008/02/02 17:45:05 matt Exp $ */ /* * Copyright (c) 1989, 1993 @@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\ #if 0 static char sccsid[] = "@(#)primes.c 8.5 (Berkeley) 5/10/95"; #else -__RCSID("$NetBSD: primes.c,v 1.13 2007/12/15 19:44:42 perry Exp $"); +__RCSID("$NetBSD: primes.c,v 1.14 2008/02/02 17:45:05 matt Exp $"); #endif #endif /* not lint */ @@ -312,7 +312,7 @@ primes(start, stop) } else { q = &table[mod ? factor-(mod/2) : 0]; } - /* sive for our current factor */ + /* sieve for our current factor */ for ( ; q < tab_lim; q += factor) { *q = '\0'; /* sieve out a spot */ } |