summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_file.c
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-04-28 11:34:22 -0300
committerRenato Botelho <renato@netgate.com>2016-04-28 11:34:22 -0300
commitd1ef4e7974b0b2817406da15fd95d9f836aa1912 (patch)
treebe0fc739c69cdd44a57a5c6abe9001c070bf335f /sys/compat/linux/linux_file.c
parent6f331e8a44f8f914e7cd1813a5e96d20c55891e5 (diff)
parent1d5d3749a4b560c02782ced59660844e31c631a9 (diff)
downloadFreeBSD-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.c5
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), \
OpenPOWER on IntegriCloud