DragonFly commits List (threaded) for 2007-11
DragonFly BSD
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


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Nov 2007 13:12:11 -0800 (PST)

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]