From 60efbc7695cc4adcd96a2a8d9bb326124bc5d817 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 29 Jan 2021 12:12:50 -0500 Subject: dir: Add a Linux implementation using the getdents() syscall directly --- dir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dir.h') diff --git a/dir.h b/dir.h index 5817013..69344c6 100644 --- a/dir.h +++ b/dir.h @@ -101,7 +101,7 @@ int bfs_dirfd(const struct bfs_dir *dir); * @return * 1 on success, 0 on EOF, or -1 on failure. */ -int bfs_readdir(struct bfs_dir *dir, struct bfs_dirent *dirent); +int bfs_readdir(struct bfs_dir *dir, struct bfs_dirent *de); /** * Close a directory. -- cgit v1.2.3