diff options
Diffstat (limited to 'dirent/tst-seekdir.c')
-rw-r--r-- | dirent/tst-seekdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dirent/tst-seekdir.c b/dirent/tst-seekdir.c index 3022783e54..f12b13f4d3 100644 --- a/dirent/tst-seekdir.c +++ b/dirent/tst-seekdir.c @@ -3,7 +3,7 @@ #include <stdlib.h> int -main () +main (int argc, char *argv[]) { DIR * dirp; @@ -31,7 +31,7 @@ main () /* go back to saved entry */ seekdir (dirp, save3); - + /* print remaining files (3-last) */ for (dp = readdir(dirp); dp != NULL; dp = readdir(dirp)) printf("%s\n", dp->d_name); |