cvs commit: src/usr.sbin/dev_mkdb dev_mkdb.c

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Mon Aug 8 09:50:41 PDT 2005


joerg       2005/08/08 09:49:48 PDT

DragonFly src repository

  Modified files:
    usr.sbin/dev_mkdb    dev_mkdb.c 
  Log:
  Use NAME_MAX instead of MAXNAMLEN and strlcpy, since dp->d_name is
  NUL-terminated.
  
  Revision  Changes    Path
  1.6       +6 -5      src/usr.sbin/dev_mkdb/dev_mkdb.c


http://www.dragonflybsd.org/cvsweb/src/usr.sbin/dev_mkdb/dev_mkdb.c.diff?r1=1.5&r2=1.6&f=u





More information about the Commits mailing list