cvs commit: src/sbin/camcontrol camcontrol.c

Peter Avalos pavalos at crater.dragonflybsd.org
Wed Nov 28 13:12:50 PST 2007


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





More information about the Commits mailing list