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

Re: CVS: cvs.openbsd.org: src



Artur Grabowski <art_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org> writes:

> CVSROOT:	/cvs
> Module name:	src
> Changes by:	art_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2001/02/13 12:51:49
> 
> Modified files:
> 	sys/kern       : vfs_bio.c 
> 
> Log message:
> Use MIN, not min when counting the pages we steal.
> min is a function taking u_int arguments and we are counting signed longs
> here.

Do we have any reason to not use MIN/MAX everywhere in the kernel instead of
min/max & co?

There was no problem in this code, but I bet that we'll find an incorrect
use of min/max somehwere in the kernel.

//art



Visit your host, monkey.org