[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Brad Smith <brad_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Wed, 25 Jan 2006 16:54:22 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: brad_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2006/01/25 16:54:22
Modified files:
sys/dev/pci : esa.c
Log message:
Wow, this is clearly wrong (found in esa_set_params):
if (p->channels < 1 && p->channels > 2)
return EINVAL;
Change the 'and' to an 'or' so the check actually does something.
>From jmcneill NetBSD
ok krw@
Visit your host, monkey.org