summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ac
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2004-03-03 01:51:24 +0000
committerken <ken@FreeBSD.org>2004-03-03 01:51:24 +0000
commitad706f7e3df834c44510a7b48d6fcd7ca096448c (patch)
treeac0008c512b35b81b718ad3733a16c980ada1b4c /usr.sbin/ac
parent206b5dcf52404648c53b71b3cd1ab0cd84426bbb (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud