DragonFly commits List (threaded) for 2007-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sbin/camcontrol camcontrol.c
pavalos 2007/11/28 13:12:11 PST
DragonFly src repository
Modified files:
sbin/camcontrol camcontrol.c
Log:
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.
Obtained-from: FreeBSD
Revision Changes Path
1.7 +10 -2 src/sbin/camcontrol/camcontrol.c
http://www.dragonflybsd.org/cvsweb/src/sbin/camcontrol/camcontrol.c.diff?r1=1.6&r2=1.7&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]