> Author: eadler > Date: Thu Mar 1 22:38:21 2018 > New Revision: 330256 > URL: https://svnweb.freebsd.org/changeset/base/330256 > > Log: > sys/sys: Use a more common spelling of 'dirent'
Actually, correct missed rename of direct to dirent, the name of this structure in 4.2/4.3 was direct, posix renamed it to dirent. The comment probably got missed when the rest of the file was changed. > Submitted by: Domagoj Stolfa <domagoj.sto...@gmail.com> > MFC After: 3 days > > Modified: > head/sys/sys/dirent.h > > Modified: head/sys/sys/dirent.h > ============================================================================== > --- head/sys/sys/dirent.h Thu Mar 1 22:04:51 2018 (r330255) > +++ head/sys/sys/dirent.h Thu Mar 1 22:38:21 2018 (r330256) > @@ -112,7 +112,7 @@ struct freebsd11_dirent { > > /* > * The _GENERIC_DIRSIZ macro gives the minimum record length which will hold > - * the directory entry. This returns 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 8 byte boundary. > * > > -- Rod Grimes rgri...@freebsd.org _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"