summaryrefslogtreecommitdiff
path: root/platform-intel.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-09-11 16:10:24 +1000
committerNeilBrown <neilb@suse.de>2009-09-11 16:10:24 +1000
commit2a17c77bdb65864382848c5cd0a7ac86a48cf899 (patch)
treec715043071addcfa1a833f0d895b42e9216cf874 /platform-intel.c
parent7cbeb80e900d2cbb47c6de75826769b5addb4867 (diff)
downloadmdadm-2a17c77bdb65864382848c5cd0a7ac86a48cf899.tar.gz
Add a missing 'closedir'.
Thanks to David Binderman for finding and reporting it. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'platform-intel.c')
-rw-r--r--platform-intel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform-intel.c b/platform-intel.c
index eaf4c48..d568ca6 100644
--- a/platform-intel.c
+++ b/platform-intel.c
@@ -90,7 +90,7 @@ struct sys_dev *find_driver_devices(const char *bus, const char *driver)
list->path = canonicalize_file_name(path);
list->next = NULL;
}
-
+ closedir(driver_dir);
return head;
}