cvs commit: src/bin/df df.c

Warner Losh imp at FreeBSD.org
Sun Aug 20 06:32:43 UTC 2006


imp         2006-08-20 06:32:40 UTC

  FreeBSD src repository

  Modified files:
    bin/df               df.c 
  Log:
  Prefer strlcpy to strncpy.  In one case, this saves us from re-zeroing
  data that's alreday 0.  In another, it saves us from zeroing data that
  will be overwritten again.
  
  Revision  Changes    Path
  1.65      +2 -2      src/bin/df/df.c


More information about the cvs-src mailing list