[libvirt] [PATCH 04/23] Replace use of testError with virReportError
Peter Krempa
pkrempa at redhat.com
Thu Jul 19 14:28:30 UTC 2012
On 07/18/12 20:40, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> Update the test driver to use virReportError instead of the
> testError custom macro
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> src/test/test_driver.c | 509 ++++++++++++++++++++++++------------------------
> 1 file changed, 255 insertions(+), 254 deletions(-)
>
> @@ -1973,7 +1972,7 @@ static int testDomainCoreDump(virDomainPtr domain,
> domain->name);
>
> if (privdom == NULL) {
> - testError(VIR_ERR_INVALID_ARG, __FUNCTION__);
> + virReportError(VIR_ERR_INVALID_ARG, __FUNCTION__);
> goto cleanup;
> }
>
Parts like this above probably also require "%s", treatment.
ACK as the problem above persists longer.
Peter
More information about the libvir-list
mailing list