mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-11 20:58:50 +03:00
Since this function is called with 'fd == -1', but Coverity can't see this path can't be visited with this argument, add explicit check for valid descriptor.