Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Jared D. McNeill <jmcneill@netbsd.org>
List: source-changes
Date: 10/29/2005 17:44:34
Module Name: src
Committed By: jmcneill
Date: Sat Oct 29 17:44:34 UTC 2005
Modified Files:
src/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.
To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 src/sys/dev/pci/esa.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.