Date: Tue, 2 Mar 2004 17:51:25 -0800 (PST) From: "Kenneth D. Merry" <ken@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/camcontrol camcontrol.c Message-ID: <200403030151.i231pPJB097165@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@alchemy.franken.de> (mostly)
MFC After: 2 weeks
Revision Changes Path
1.52 +12 -2 src/sbin/camcontrol/camcontrol.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403030151.i231pPJB097165>
