cvs commit: src/sbin/camcontrol camcontrol.c
Kenneth D. Merry
ken at FreeBSD.org
Tue Mar 2 17:51:25 PST 2004
ken 2004/03/02 17:51:25 PST
FreeBSD src repository
Modified files:
sbin/camcontrol camcontrol.c
Log:
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 at alchemy.franken.de> (mostly)
MFC After: 2 weeks
Revision Changes Path
1.52 +12 -2 src/sbin/camcontrol/camcontrol.c
More information about the cvs-src
mailing list