cvs commit: src/sbin/mdmfs mdmfs.c

Yar Tikhiy yar at FreeBSD.org
Thu May 3 09:56:53 UTC 2007


yar         2007-05-03 09:56:52 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sbin/mdmfs           mdmfs.c 
  Log:
  MFC rev. 1.32:
  
    Fix a typo: argv -> argvp.
  
    Rationale:
    We are interested in the current (last) element of the argv array
    there, not in its first element. [...]
  
    Also add a comment that the argv array ends up null-terminated in
    any case (it's due to the design of the for loop) as an answer to
    a possible question why the whole argv isn't zero-filled.
  
  Revision  Changes    Path
  1.23.2.4  +2 -1      src/sbin/mdmfs/mdmfs.c


More information about the cvs-all mailing list