Date: Sun, 25 Apr 2004 10:10:18 -0700 (PDT) From: Marius Strobl <marius@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: <200404251710.i3PHAIOV006393@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2004/04/25 10:10:18 PDT
FreeBSD src repository
Modified files: (Branch: RELENG_4)
sbin/camcontrol camcontrol.c
Log:
MFC: 1.52
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.
Approved by: ken (maintainer), marcel (mentor)
Revision Changes Path
1.21.2.14 +12 -2 src/sbin/camcontrol/camcontrol.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404251710.i3PHAIOV006393>
