cvs commit: src/sbin/camcontrol camcontrol.c

Marius Strobl marius at
Sun Apr 25 10:10:19 PDT 2004

marius      2004/04/25 10:10:18 PDT

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    sbin/camcontrol      camcontrol.c 
  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  +12 -2     src/sbin/camcontrol/camcontrol.c

More information about the cvs-src mailing list