diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2007-08-16 15:18:55 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2007-08-16 15:18:55 +0000 |
commit | 902f24856b4bafac5d600164ea981cef6087cdb8 (patch) | |
tree | d9fad9722e6081e87d3e4efc2acaeb13d5f5f2b0 /usr.sbin/apm | |
parent | 8bbf60981274b3673faf8ca4020e2d1c38d57ca5 (diff) |
I don't really know what I was thinking when I wrote this. Not only does the
"array" index start at 1, the code also abused index 0 to detect that we
were doing a KERN_POOL_NPOOLS.
Just look at *name == KERN_POOL_NPOOLS instead of using index == 0 for that.
deraadt@ ok
Diffstat (limited to 'usr.sbin/apm')
0 files changed, 0 insertions, 0 deletions