* Applied dirent_test build fix in trunk as well.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32889 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-09-01 13:19:22 +00:00
parent 6761e2d915
commit 73e3cd6904
@@ -1,13 +1,12 @@
/* /*
* Copyright 2008, Axel Dörfler, [email protected]. * Copyright 2008-2009, Axel Dörfler, [email protected].
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*/ */
#include <dirent.h> #include <dirent.h>
#include <stdio.h> #include <stdio.h>
#include <dirent_private.h>
int int
main(int argc, char** argv) main(int argc, char** argv)
@@ -21,7 +20,7 @@ main(int argc, char** argv)
printf("Entry: dev %ld, ino %Ld, name \"%s\"\n", dirent->d_dev, printf("Entry: dev %ld, ino %Ld, name \"%s\"\n", dirent->d_dev,
dirent->d_ino, dirent->d_name); dirent->d_ino, dirent->d_name);
printf(" left: %u, next: %d\n", dir->entries_left, dir->next_entry); //printf(" left: %u, next: %d\n", dir->entries_left, dir->next_entry);
} }
closedir(dir); closedir(dir);