[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: Re: CVS: cvs.openbsd.org: src
- From: Artur Grabowski <art_(_at_)_blahonga_(_dot_)_org>
- Date: 13 Feb 2001 21:23:32 +0100
- Cc: tech_(_at_)_openbsd_(_dot_)_org
- Reply-to: Artur Grabowski <art_(_at_)_blahonga_(_dot_)_org>
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