summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_subr.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-05-08 23:11:12 +0000
committerdg <dg@FreeBSD.org>1995-05-08 23:11:12 +0000
commit259aeee1218f678108ecf702232c61f925b239f3 (patch)
treece396dc7de47024fe697ed76215258aa83ab0629 /sys/kern/kern_subr.c
parent1aa6f0255a93cada013e339b339895f4d6c1b066 (diff)
downloadFreeBSD-src-259aeee1218f678108ecf702232c61f925b239f3.zip
FreeBSD-src-259aeee1218f678108ecf702232c61f925b239f3.tar.gz
Improved hashinit panic strings.
Diffstat (limited to 'sys/kern/kern_subr.c')
-rw-r--r--sys/kern/kern_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c
index dcd57b0..a89ad53 100644
--- a/sys/kern/kern_subr.c
+++ b/sys/kern/kern_subr.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_subr.c 8.3 (Berkeley) 1/21/94
- * $Id: kern_subr.c,v 1.6 1995/04/09 01:19:25 davidg Exp $
+ * $Id: kern_subr.c,v 1.7 1995/04/30 05:11:46 davidg Exp $
*/
#include <sys/param.h>
@@ -207,7 +207,7 @@ hashinit(elements, type, hashmask)
int i;
if (elements <= 0)
- panic("hashinit: bad cnt");
+ panic("hashinit: bad elements");
for (hashsize = 1; hashsize <= elements; hashsize <<= 1)
continue;
hashsize >>= 1;
@@ -236,7 +236,7 @@ phashinit(elements, type, nentries)
int i;
if (elements <= 0)
- panic("hashinit: bad cnt");
+ panic("phashinit: bad elements");
for (i = 1, hashsize = primes[1]; hashsize <= elements;) {
i++;
if (i == NPRIMES)
OpenPOWER on IntegriCloud