summaryrefslogtreecommitdiffstats
path: root/0043-RHBZ-590028-close-sysfs_attr_fd.patch
blob: 890436f21821b26c41f0ddb2d64895ab9eb6925f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
 libmultipath/sysfs.c |    1 +
 1 file changed, 1 insertion(+)

Index: multipath-tools/libmultipath/sysfs.c
===================================================================
--- multipath-tools.orig/libmultipath/sysfs.c
+++ multipath-tools/libmultipath/sysfs.c
@@ -407,6 +407,7 @@ sysfs_attr_set_value(const char *devpath
 		    path_full, ret);
 		ret = -1;
 	}
+	close(fd);
 out:
 	return ret;
 }