From: Matthias Bolte Date: Tue, 5 Jul 2011 21:57:14 +0000 (+0200) Subject: nodedev: Let check_fc_host_linux report errors to the caller X-Git-Tag: v0.9.4-rc1~301 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=c7694e3e50f3516ec8027c4c666e48a36fe4094f;p=thirdparty%2Flibvirt.git nodedev: Let check_fc_host_linux report errors to the caller --- diff --git a/src/node_device/node_device_linux_sysfs.c b/src/node_device/node_device_linux_sysfs.c index 4f4acc7056..34e45013a1 100644 --- a/src/node_device/node_device_linux_sysfs.c +++ b/src/node_device/node_device_linux_sysfs.c @@ -156,7 +156,7 @@ out: VIR_FREE(d->scsi_host.wwpn); } VIR_FREE(sysfs_path); - return 0; + return retval; }