From: Guido Günther Date: Thu, 31 Mar 2011 20:40:34 +0000 (+0200) Subject: Make check_fc_host() and check_vport_capable() usable as rvalues X-Git-Tag: v0.9.0~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0bd206a6186ff1a4c3888bf4502aa8eaa7762d1;p=thirdparty%2Flibvirt.git Make check_fc_host() and check_vport_capable() usable as rvalues as needed on non linux ports using HAL. --- diff --git a/src/node_device/node_device_driver.h b/src/node_device/node_device_driver.h index 4721be4454..e583c2bc68 100644 --- a/src/node_device/node_device_driver.h +++ b/src/node_device/node_device_driver.h @@ -78,8 +78,8 @@ int read_wwn_linux(int host, const char *file, char **wwn); # else /* __linux__ */ -# define check_fc_host(d) -# define check_vport_capable(d) +# define check_fc_host(d) (-1) +# define check_vport_capable(d) (-1) # define get_physical_function(sysfs_path, d) # define get_virtual_functions(sysfs_path, d) # define read_wwn(host, file, wwn)