mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
examples: fix misc spelling errors reported by codespell
Reviewed-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
e0f54d6663
commit
30703564c2
@ -80,7 +80,7 @@ int main(int argc, char **argv)
|
||||
goto cleanup;
|
||||
|
||||
/* let's print the currently connected clients and some basic info about
|
||||
* them, we have 2 options how to interate over the returned list,
|
||||
* them, we have 2 options how to iterate over the returned list,
|
||||
* use @count as the boundary or use the fact that @clients are guaranteed
|
||||
* to contain 1 extra element NULL;
|
||||
* this example uses the first option
|
||||
|
@ -19,7 +19,7 @@ int main(void)
|
||||
if ((count = virAdmConnectListServers(conn, &servers, 0)) < 0)
|
||||
goto cleanup;
|
||||
|
||||
/* let's print the available servers, we have 2 options how to interate
|
||||
/* let's print the available servers, we have 2 options how to iterate
|
||||
* over the returned list, use @count as the boundary or use the fact
|
||||
* that @servers are guaranteed to contain 1 extra element NULL;
|
||||
* this example uses the second option
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* section: Informations
|
||||
* section: Information
|
||||
* synopsis: Extract information about Xen domain 0
|
||||
* purpose: Demonstrate the basic use of the library to connect to the
|
||||
* hypervisor and extract domain information.
|
||||
|
Loading…
Reference in New Issue
Block a user