提交 290f2adf 编写于 作者: J Ján Tomko

virStorageBackendISCSIGetHostNumber: correctly use virDirOpen

Incorrect conflict resolution in my commit e81de04c broke this.
上级 32d0a578
......@@ -100,9 +100,7 @@ virStorageBackendISCSIGetHostNumber(const char *sysfs_path,
virFileWaitForDevices();
if (virDirOpen(&sysdir, sysfs_path) < 0)
virReportSystemError(errno,
_("Failed to opendir path '%s'"), sysfs_path);
if (virDirOpen(&sysdir, sysfs_path) < 0) {
retval = -1;
goto out;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册