mirror of https://gitee.com/openkylin/libvirt.git
Fix compilation of statstest.c during make check
This commit is contained in:
parent
94538e14e2
commit
a34e193fb7
|
@ -17,7 +17,7 @@ static void testQuietError(void *userData ATTRIBUTE_UNUSED,
|
|||
|
||||
static int testDevice(const char *path, int expect)
|
||||
{
|
||||
int actual = xenLinuxDomainDeviceID(NULL, 1, path);
|
||||
int actual = xenLinuxDomainDeviceID(1, path);
|
||||
|
||||
if (actual == expect) {
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue