[libvirt] [appdev-guide] [PATCH v2] Guest Domains: fix code example

Ilias Stamatis posted 1 patch 5 years ago
Failed in applying to current master (apply log)
en-US/Guest_Domains.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [appdev-guide] [PATCH v2] Guest Domains: fix code example
Posted by Ilias Stamatis 5 years ago
Signed-off-by: Ilias Stamatis <stamatis.iliass@gmail.com>
---
 en-US/Guest_Domains.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/en-US/Guest_Domains.xml b/en-US/Guest_Domains.xml
index c15bbb8..2a4ef7c 100644
--- a/en-US/Guest_Domains.xml
+++ b/en-US/Guest_Domains.xml
@@ -88,7 +88,7 @@ dom = virDomainLookupByID(conn, domainID);
     <example>
       <title>Fetching a domain object from an name</title>
       <programlisting>
-int domainName = "someguest";
+char *domainName = "someguest";
 virDomainPtr dom;

 dom = virDomainLookupByName(conn, domainName);
--
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [appdev-guide] [PATCH v2] Guest Domains: fix code example
Posted by Ján Tomko 5 years ago
On Sat, Apr 06, 2019 at 12:38:16PM +0200, Ilias Stamatis wrote:
>Signed-off-by: Ilias Stamatis <stamatis.iliass@gmail.com>
>---
> en-US/Guest_Domains.xml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

And pushed. Not sure how the cron job is set up, but it might take 1-24h
to show up on the website.

Jano
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list