diff options
author | Renato Botelho <renato@netgate.com> | 2016-04-28 11:34:22 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-04-28 11:34:22 -0300 |
commit | d1ef4e7974b0b2817406da15fd95d9f836aa1912 (patch) | |
tree | be0fc739c69cdd44a57a5c6abe9001c070bf335f /sys/compat/linux/linux_file.c | |
parent | 6f331e8a44f8f914e7cd1813a5e96d20c55891e5 (diff) | |
parent | 1d5d3749a4b560c02782ced59660844e31c631a9 (diff) | |
download | FreeBSD-src-d1ef4e7974b0b2817406da15fd95d9f836aa1912.zip FreeBSD-src-d1ef4e7974b0b2817406da15fd95d9f836aa1912.tar.gz |
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'sys/compat/linux/linux_file.c')
-rw-r--r-- | sys/compat/linux/linux_file.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index ee1d1ba..1a47196 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -305,11 +305,10 @@ struct l_dirent64 { * at least glibc-2.7 requires it. That is why l_dirent is padded with 2 bytes. */ #define LINUX_RECLEN(namlen) \ - roundup((offsetof(struct l_dirent, d_name) + (namlen) + 2), \ - sizeof(l_ulong)) + roundup(offsetof(struct l_dirent, d_name) + (namlen) + 2, sizeof(l_ulong)) #define LINUX_RECLEN64(namlen) \ - roundup((offsetof(struct l_dirent64, d_name) + (namlen) + 1), \ + roundup(offsetof(struct l_dirent64, d_name) + (namlen) + 1, \ sizeof(uint64_t)) #define LINUX_MAXRECLEN max(LINUX_RECLEN(LINUX_NAME_MAX), \ |