summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.c b/misc.c
index 669dabc..789bb70 100644
--- a/misc.c
+++ b/misc.c
@@ -879,11 +879,11 @@ atomic_stat(file, buf)
struct dirent *
atomic_readdir(dir)
- DIR *file;
+ DIR *dir;
{
struct dirent *r;
- while ((r = readdir (file, buf)) == NULL)
+ while ((r = readdir (dir)) == NULL)
if (errno != EINTR)
break;