From: Jim Fehlig Date: Thu, 7 Jul 2011 16:15:05 +0000 (-0600) Subject: Fix compilation of statstest.c during make check X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a34e193fb7ac887bb25ac47450bae14dbc829cc8;p=libvirt.git Fix compilation of statstest.c during make check --- diff --git a/tests/statstest.c b/tests/statstest.c index d18bb0c06d..c9899922aa 100644 --- a/tests/statstest.c +++ b/tests/statstest.c @@ -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;