Backout r272825 every useland usage of ufs/ufs/dir.h are now broken with that change

This commit is contained in:
bapt 2014-10-09 17:26:29 +00:00
parent 9a1732bd90
commit 05bd7a92d7

View File

@ -110,7 +110,7 @@ struct direct {
*
*/
#define DIRECTSIZ(namlen) \
((offsetof(struct direct, d_name) + \
(((uintptr_t)&((struct direct *)0)->d_name + \
((namlen)+1)*sizeof(((struct direct *)0)->d_name[0]) + 3) & ~3)
#if (BYTE_ORDER == LITTLE_ENDIAN)
#define DIRSIZ(oldfmt, dp) \