diff options
author | Anton Kling <anton@kling.gg> | 2024-12-31 16:10:13 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-12-31 16:10:13 +0100 |
commit | 4b1577f80962e8cce055fdb4d6f641187df0bbe0 (patch) | |
tree | 9bc62b9478650a244158cd9ae3eb1db41eb7c556 /userland/libc/dirent/opendir.c | |
parent | 934d8d5ee4c2ce756fea79d74d8562ad597cc5e5 (diff) |
libc: opendir should not keep a internal offset
Diffstat (limited to 'userland/libc/dirent/opendir.c')
-rw-r--r-- | userland/libc/dirent/opendir.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/userland/libc/dirent/opendir.c b/userland/libc/dirent/opendir.c index efe8b6d..8f5d818 100644 --- a/userland/libc/dirent/opendir.c +++ b/userland/libc/dirent/opendir.c @@ -6,7 +6,6 @@ DIR *fdopendir(int fd) { return NULL; } rc->fd = fd; - rc->dir_num = 0; return rc; } @@ -20,6 +19,5 @@ DIR *opendir(const char *dirname) { return NULL; } rc->fd = fd; - rc->dir_num = 0; return rc; } |