summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pcidevs_data.h
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-01-25 23:54:22 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-01-25 23:54:22 +0000
commitc3389e1b3f69813bbcd8cf42d67e1abd769b9c54 (patch)
treee47eae68a27906a63986b295f4d757f7cf068096 /sys/dev/pci/pcidevs_data.h
parent8ae845db2e2a573eeed71f3350d727d3803ae580 (diff)
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@
Diffstat (limited to 'sys/dev/pci/pcidevs_data.h')
0 files changed, 0 insertions, 0 deletions