summaryrefslogtreecommitdiff
path: root/libc/misc/dirent/opendir.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-17 03:17:15 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-17 03:17:15 +0000
commitf6fabdfcc7ee34bbaef30c5cef540152e5c7b224 (patch)
tree4b9d4614efaf3528cb230057df6467610cee3171 /libc/misc/dirent/opendir.c
parentcad937c12d93653ed1bf548eed8fc1a178f991d8 (diff)
In theory, this adds readdir64 and friends. Dunno if they
work yet or not.... -Erik
Diffstat (limited to 'libc/misc/dirent/opendir.c')
-rw-r--r--libc/misc/dirent/opendir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/dirent/opendir.c b/libc/misc/dirent/opendir.c
index 0ac1637b3..25b5873e1 100644
--- a/libc/misc/dirent/opendir.c
+++ b/libc/misc/dirent/opendir.c
@@ -15,7 +15,7 @@ DIR *opendir(const char *name)
{
int fd;
struct stat statbuf;
- struct dirent *buf;
+ char *buf;
DIR *ptr;
if (stat(name, &statbuf))