]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virutil: fix virGetSCSIHostNumber stub return type
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Wed, 29 Oct 2014 18:20:48 +0000 (21:20 +0300)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Thu, 30 Oct 2014 05:54:17 +0000 (08:54 +0300)
commit44178b8e80facf0a48ab1a49dc8da3010c830930
tree83d8cd94f1c11850be31e70e59d398d5ed6d254a
parent00fa136d0b8c7e859f9eb140f9a0500cd3def1e0
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.
src/util/virutil.c