summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
Diffstat (limited to 'isys')
-rw-r--r--isys/eddsupport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/eddsupport.c b/isys/eddsupport.c
index 0924af0f5..230bf0625 100644
--- a/isys/eddsupport.c
+++ b/isys/eddsupport.c
@@ -186,7 +186,7 @@ static int mapBiosDisks(struct device** devices,const char *path) {
if ((rc=readDiskSig((*currentDev)->device, &currentSig)) < 0) {
if (rc == -ENOMEDIUM)
continue;
- closedir(dir);
+ closedir(dirHandle);
return 0;
}