[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] fix typo in domain listing example



* en_US/Guest_Domains.xml (numDomains): Fix example typo.
---

> > I'm not sure where the source to this
> > document is kept, or I would have pushed the obvious patch.
> It is in GIT of course :-)

I figured as much, just didn't know the repository name.
Now I do, so now I'm pushing this :)

 en-US/Guest_Domains.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/en-US/Guest_Domains.xml b/en-US/Guest_Domains.xml
index fe73abe..b7b7d7a 100644
--- a/en-US/Guest_Domains.xml
+++ b/en-US/Guest_Domains.xml
@@ -190,7 +190,7 @@ char **inactiveDomains;
 numDomains = virConnectNumOfDefinedDomains(conn);

 inactiveDomains = malloc(sizeof(char *) * numDomains);
-numDomains = virConnectListDomains(conn, inactiveDomains, numDomains);
+numDomains = virConnectListDefinedDomains(conn, inactiveDomains, numDomains);

 printf("Inactive domain names:\n");
 for (i = 0 ; i < numDomains ; i++) {
-- 
1.7.3.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]