[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	art_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2007/08/16 09:18:54

Modified files:
	sys/kern       : subr_pool.c 

Log message:
I don't really know what I was thinking when I wrote this. Not only does the
"array" index start at 1, the code also abused index 0 to detect that we
were doing a KERN_POOL_NPOOLS.

Just look at *name == KERN_POOL_NPOOLS instead of using index == 0 for that.

deraadt@ ok



Visit your host, monkey.org