Fix test driver domain restore return value.

This commit is contained in:
Cole Robinson 2009-04-03 14:14:05 +00:00
parent e807e4d9e9
commit a843f44c51
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Fri Apr 3 10:13:38 EDT 2009 Cole Robinson <crobinso@redhat.com>
* src/test.c: Fix test driver domain restore return value.
Fri Apr 3 10:02:57 EDT 2009 Cole Robinson <crobinso@redhat.com>
* src/storage_backend.c: Fix sparse volume allocation reporting.

View File

@ -1337,7 +1337,7 @@ static int testDomainRestore(virConnectPtr conn,
event = virDomainEventNewFromObj(dom,
VIR_DOMAIN_EVENT_STARTED,
VIR_DOMAIN_EVENT_STARTED_RESTORED);
ret = dom->def->id;
ret = 0;
cleanup:
virDomainDefFree(def);