Solaris: Fix fd leak in pci_device_solx_devfs_map_range()

Caching fd's for reuse is most effective when you actually stick the
newly opened fd in the cache, instead of letting it leak at the end
of the function.

Regression introduced by yours truly in commit 9f2d95e61896f41adb.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Randy Fishel <randy.fishel@oracle.com>
1 file changed