kern/102127: [PATCH] Simple comment fixes

Eric Anderson anderson at centtech.com
Wed Aug 16 04:00:33 UTC 2006


>Number:         102127
>Category:       kern
>Synopsis:       [PATCH] Simple comment fixes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 16 04:00:31 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Eric Anderson
>Release:        6-STABLE
>Organization:
>Environment:
FreeBSD neutrino.centtech.com 6.1-STABLE FreeBSD 6.1-STABLE #30: Sun Aug 13 21:32:40 CDT 2006     a at b:/usr/obj/usr/src/sys/NEUTRINO  i386

>Description:
The comments are slightly incorrect.  Does not quite read correctly, and isn't exactly true.
>How-To-Repeat:
Read the source code.
>Fix:

--- sys/sys/dirent.h    7 Apr 2004 04:19:49 -0000       1.14
+++ sys/sys/dirent.h    16 Aug 2006 03:46:59 -0000
@@ -82,7 +82,7 @@
 
 /*
  * The _GENERIC_DIRSIZ macro gives the minimum record length which will hold
- * the directory entry.  This requires the amount of space in struct direct
+ * the directory entry.  This returns the amount of space in struct dirent
  * without the d_name field, plus enough space for the name with a terminating
  * null byte (dp->d_namlen+1), rounded up to a 4 byte boundary.
  *

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list