summaryrefslogtreecommitdiff
path: root/libc/misc/dirent/opendir.c
diff options
context:
space:
mode:
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))