mirror of
git://sourceware.org/git/lvm2.git
synced 2025-07-18 04:58:57 +03:00
cov: check for syscall resuls
This commit is contained in:
@ -88,7 +88,9 @@ static int _get_crypt_path(dev_t lv_devt, char *lv_path, char *crypt_path)
|
||||
ret = 1;
|
||||
break;
|
||||
}
|
||||
closedir(dr);
|
||||
if (closedir(dr))
|
||||
log_sys_debug("closedir", holders_path);
|
||||
|
||||
if (ret)
|
||||
log_debug("Found holder %s of %s.", crypt_path, lv_path);
|
||||
else
|
||||
|
Reference in New Issue
Block a user