summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/getdents.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-09-18 13:16:03 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-09-18 13:16:03 +0000
commit255d93a6d925ef73fb253dc675c90b41becde012 (patch)
tree4e082afef660c41c31f16240aeac20cb22672f2d /libc/sysdeps/linux/common/getdents.c
parentf348f8d207eabd8f29ad78d76472be28244c2194 (diff)
downloaduClibc-alpine-255d93a6d925ef73fb253dc675c90b41becde012.tar.bz2
uClibc-alpine-255d93a6d925ef73fb253dc675c90b41becde012.tar.xz
Remove trailing whitespaces
Diffstat (limited to 'libc/sysdeps/linux/common/getdents.c')
-rw-r--r--libc/sysdeps/linux/common/getdents.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/getdents.c b/libc/sysdeps/linux/common/getdents.c
index 55c8f85ee..97c6d8b06 100644
--- a/libc/sysdeps/linux/common/getdents.c
+++ b/libc/sysdeps/linux/common/getdents.c
@@ -84,8 +84,8 @@ ssize_t __getdents (int fd, char *buf, size_t nbytes)
const size_t size_diff = (offsetof (struct dirent, d_name)
- offsetof (struct kernel_dirent, d_name));
- red_nbytes = MIN (nbytes - ((nbytes /
- (offsetof (struct dirent, d_name) + 14)) * size_diff),
+ red_nbytes = MIN (nbytes - ((nbytes /
+ (offsetof (struct dirent, d_name) + 14)) * size_diff),
nbytes - size_diff);
dp = (struct dirent *) buf;