diff options
author | ken <ken@FreeBSD.org> | 2004-03-03 01:51:24 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 2004-03-03 01:51:24 +0000 |
commit | ad706f7e3df834c44510a7b48d6fcd7ca096448c (patch) | |
tree | ac0008c512b35b81b718ad3733a16c980ada1b4c /usr.sbin/ac | |
parent | 206b5dcf52404648c53b71b3cd1ab0cd84426bbb (diff) | |
download | FreeBSD-src-ad706f7e3df834c44510a7b48d6fcd7ca096448c.zip FreeBSD-src-ad706f7e3df834c44510a7b48d6fcd7ca096448c.tar.gz |
Fix a couple of camcontrol issues that popped up on sparc64:
- bzero the CCB header in getdevtree() and set the path properly, to
avoid having random garbage in the CCB header.
- if the lun isn't specified in a device specifier, it should default to
0, not whatever random data happens to be in the lun variable.
- move the prototype for getdevtree() out from under #ifndef MINIMALISTIC,
since it is used in both cases.
Submitted by: Marius Strobl <marius@alchemy.franken.de> (mostly)
MFC After: 2 weeks
Diffstat (limited to 'usr.sbin/ac')
0 files changed, 0 insertions, 0 deletions