Commit d799b835 authored by Ilias Stamatis's avatar Ilias Stamatis Committed by Ján Tomko

Guest Domains: fix code example

Signed-off-by: Ilias Stamatis's avatarIlias Stamatis <stamatis.iliass@gmail.com>
Reviewed-by: 's avatarJán Tomko <jtomko@redhat.com>
Signed-off-by: 's avatarJán Tomko <jtomko@redhat.com>
parent 054c8f93
...@@ -88,7 +88,7 @@ dom = virDomainLookupByID(conn, domainID); ...@@ -88,7 +88,7 @@ dom = virDomainLookupByID(conn, domainID);
<example> <example>
<title>Fetching a domain object from an name</title> <title>Fetching a domain object from an name</title>
<programlisting> <programlisting>
int domainName = "someguest"; char *domainName = "someguest";
virDomainPtr dom; virDomainPtr dom;
dom = virDomainLookupByName(conn, domainName); dom = virDomainLookupByName(conn, domainName);
......
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