summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/POSIX/getdents.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/POSIX/getdents.c')
-rw-r--r--testsuites/libtests/POSIX/getdents.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/libtests/POSIX/getdents.c b/testsuites/libtests/POSIX/getdents.c
index bb731e9862..fd801c714d 100644
--- a/testsuites/libtests/POSIX/getdents.c
+++ b/testsuites/libtests/POSIX/getdents.c
@@ -12,11 +12,11 @@
#include <dirent.h>
-int
-main (void)
+int main(void)
{
int status;
int fd = 42;
- status = getdents (fd, "/tmp/foo", 0);
+ status = getdents(fd, "/tmp/foo", 0);
+ return status;
}