diff options
author | greg@kroah.com <greg@kroah.com> | 2004-04-23 21:55:57 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:35:17 -0700 |
commit | e13fa59953d64e478025fd1200bb5fd0baf671b2 (patch) | |
tree | d68cfee1c935885b13210987449e4292f30cb512 | |
parent | aef6bb132ef2f5b4c446e42f6050033d4f5c177b (diff) |
[PATCH] udevstart: close open directories.
Based on a munged patch from Olaf Hering <olh@suse.de>
-rw-r--r-- | udevstart.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/udevstart.c b/udevstart.c index 5e6606d535..1d9b60464c 100644 --- a/udevstart.c +++ b/udevstart.c @@ -130,10 +130,13 @@ static void udev_scan(void) udev_exec(filename, "block"); } } + closedir(dir3); } } + closedir(dir2); } } + closedir(dir); } devpath = "class"; @@ -176,10 +179,13 @@ static void udev_scan(void) udev_exec(filename, dent->d_name); } } + closedir(dir3); } } + closedir(dir2); } } + closedir(dir); } } |