Commit b6389909 authored by Daniel P. Berrange's avatar Daniel P. Berrange

Fix mistakes in compat functions calling themselves

Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
parent 0d0ac13d
......@@ -40,7 +40,7 @@ int virDomainCoreDumpWithFormatCompat(virDomainPtr domain,
#if LIBVIR_VERSION_NUMBER < 1002003
assert(0); // Caller should have checked version
#else
return virDomainCoreDumpWithFormatCompat(domain, to, dumpformat, flags);
return virDomainCoreDumpWithFormat(domain, to, dumpformat, flags);
#endif
}
......@@ -232,7 +232,7 @@ int virDomainGetPerfEventsCompat(virDomainPtr dom,
#if LIBVIR_VERSION_NUMBER < 1003003
assert(0); // Caller should have checked version
#else
return virDomainGetPerfEventsCompat(dom, params, nparams, flags);
return virDomainGetPerfEvents(dom, params, nparams, flags);
#endif
}
......@@ -245,7 +245,7 @@ int virDomainSetPerfEventsCompat(virDomainPtr dom,
#if LIBVIR_VERSION_NUMBER < 1003003
assert(0); // Caller should have checked version
#else
return virDomainSetPerfEventsCompat(dom, params, nparams, flags);
return virDomainSetPerfEvents(dom, params, nparams, flags);
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment