summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/POSIX/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/POSIX/stat.c')
-rw-r--r--testsuites/libtests/POSIX/stat.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/testsuites/libtests/POSIX/stat.c b/testsuites/libtests/POSIX/stat.c
index 889eb4d620..63d0171ccd 100644
--- a/testsuites/libtests/POSIX/stat.c
+++ b/testsuites/libtests/POSIX/stat.c
@@ -14,13 +14,12 @@
#include <sys/stat.h>
#include <unistd.h>
-int
-main (void)
+int main(void)
{
struct stat buf;
int status;
- status = stat ("/tmp/foo", &buf);
+ status = stat("/tmp/foo", &buf);
- return 0;
+ return status;
}