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 committed 2014-10-30 08:54:17 +03:00
1 parent 00fa136d0b
commit 44178b8e80
1 file changed
+1 -1
+1 -1
View File
@@ -2298,7 +2298,7 @@ virGetSCSIHostNumber(const char *adapter_name ATTRIBUTE_UNUSED,
unsigned int *result ATTRIBUTE_UNUSED)
{
virReportSystemError(ENOSYS, "%s", _("Not supported on this platform"));
return NULL;
return -1;
}
char *