diff options
Diffstat (limited to 'testsuites/libtests/POSIX/stat.c')
-rw-r--r-- | testsuites/libtests/POSIX/stat.c | 7 |
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; } |