]> mj.ucw.cz Git - pciutils.git/commit
sysfs: Cleaned up caching of file descriptors.
authorMartin Mares <mj@ucw.cz>
Sat, 13 Dec 2008 12:11:29 +0000 (13:11 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 13 Dec 2008 12:11:29 +0000 (13:11 +0100)
commit07ad085da214d1de3c505eb5439deaf89c7b08d9
tree76261a78d2a530be4108bb7140f98c031021f816
parent6171c06d5d3db61a657479963cfbe4be0026005d
sysfs: Cleaned up caching of file descriptors.

The previous code opened the VPD descriptor even if no VPD access
was requested and it forgot to close it afterwards.
lib/sysfs.c