]> xenbits.xensource.com Git - libvirt.git/commitdiff
nodedev: Let check_fc_host_linux report errors to the caller
authorMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 5 Jul 2011 21:57:14 +0000 (23:57 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 6 Jul 2011 06:51:11 +0000 (08:51 +0200)
src/node_device/node_device_linux_sysfs.c

index 4f4acc70567c4b5157582a138886b94389ebe039..34e45013a1a8fa61e9b6eacd9fd9116acc2da580 100644 (file)
@@ -156,7 +156,7 @@ out:
         VIR_FREE(d->scsi_host.wwpn);
     }
     VIR_FREE(sysfs_path);
-    return 0;
+    return retval;
 }