aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2020-09-05 16:54:19 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-09-05 16:54:19 +0200
commit3b27ce1573535e0585b83b83a8b3828af70afe67 (patch)
tree283554c25ad4862afbe8db7b948921c8c4689ee0
parent48d05103071830b6708a3ecabeddcdef5f3daa44 (diff)
downloadman-pages-3b27ce1573535e0585b83b83a8b3828af70afe67.tar.gz
getdents.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/getdents.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/getdents.2 b/man2/getdents.2
index 42d62fea81..7c26385613 100644
--- a/man2/getdents.2
+++ b/man2/getdents.2
@@ -287,7 +287,7 @@ main(int argc, char *argv[])
if (fd == \-1)
handle_error("open");
- for ( ; ; ) {
+ for (;;) {
nread = syscall(SYS_getdents, fd, buf, BUF_SIZE);
if (nread == \-1)
handle_error("getdents");