iscsi: Use error message from virStorageBackendSCSIFindLUs

Don't supercede the error message virStorageBackendSCSIFindLUs as the
message such as "error: Failed to find LUs on host 60: ..." is not overly
clear as to what the real problem might be.

Signed-off-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
John Ferlan 2015-03-30 18:49:36 -04:00
parent 22592a3feb
commit d9ece06526

View File

@ -146,11 +146,8 @@ virStorageBackendISCSIFindLUs(virStoragePoolObjPtr pool,
retval = -1;
}
if (virStorageBackendSCSIFindLUs(pool, host) < 0) {
virReportSystemError(errno,
_("Failed to find LUs on host %u"), host);
if (virStorageBackendSCSIFindLUs(pool, host) < 0)
retval = -1;
}
VIR_FREE(sysfs_path);