cvs commit: src/sbin/newfs_msdos Makefile newfs_msdos.c

Xin LI delphij at FreeBSD.org
Sun Jul 3 01:03:02 GMT 2005


delphij     2005-01-17 14:14:00 UTC

  FreeBSD src repository

  Modified files:
    sbin/newfs_msdos     Makefile newfs_msdos.c 
  Log:
  WARNS=6 cleanup:
  
   - Initialize everything in the struct array, not only the mentioned
     ones
   - Unconditionally initialize hs to 0 to avoid repeatly doing so
   - Cast to unsigned int when comparing to unsigned variables.
  
  Revision  Changes    Path
  1.9       +2 -1      src/sbin/newfs_msdos/Makefile
  1.21      +16 -16    src/sbin/newfs_msdos/newfs_msdos.c



More information about the cvs-src mailing list