virutil: fix virGetSCSIHostNumber stub return type

The virGetSCSIHostNumber function return type is int, however
its stubbed version returns NULL. That results in a build fail
on systems that use the stubbed version. Fix by using a proper
return type.
This commit is contained in:
Roman Bogorodskiy 2014-10-29 21:20:48 +03:00
parent 00fa136d0b
commit 44178b8e80

View File

@ -2298,7 +2298,7 @@ virGetSCSIHostNumber(const char *adapter_name ATTRIBUTE_UNUSED,
unsigned int *result ATTRIBUTE_UNUSED) unsigned int *result ATTRIBUTE_UNUSED)
{ {
virReportSystemError(ENOSYS, "%s", _("Not supported on this platform")); virReportSystemError(ENOSYS, "%s", _("Not supported on this platform"));
return NULL; return -1;
} }
char * char *