]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix compilation of statstest.c during make check
authorJim Fehlig <jfehlig@novell.com>
Thu, 7 Jul 2011 16:15:05 +0000 (10:15 -0600)
committerJim Fehlig <jfehlig@novell.com>
Thu, 7 Jul 2011 16:15:05 +0000 (10:15 -0600)
tests/statstest.c

index d18bb0c06d19573ecc5b62e30903375556191489..c9899922aac833e6c7f2a1a837e1b3781f069f03 100644 (file)
@@ -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;