[libvirt] [PATCH] Remove the inexistent function in comments
Eric Blake
eblake at redhat.com
Wed Jan 2 15:04:43 UTC 2013
On 01/02/2013 07:43 AM, Osier Yang wrote:
> virNodeDeviceLookupByKey is inexistent.
s/inexistent/nonexistent/
>
> ---
> Pushed under trivial rule.
Oh well, it needs a followup for grammar:
> ---
> include/libvirt/libvirt.h.in | 7 +++----
> 1 files changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
> index c6739d7..2de6835 100644
> --- a/include/libvirt/libvirt.h.in
> +++ b/include/libvirt/libvirt.h.in
> @@ -3113,10 +3113,9 @@ typedef struct _virNodeDevice virNodeDevice;
> * virNodeDevicePtr:
> *
> * A virNodeDevicePtr is a pointer to a virNodeDevice structure. Get
> - * one via virNodeDeviceLookupByKey, virNodeDeviceLookupByName, or
> - * virNodeDeviceCreate. Be sure to Call virNodeDeviceFree when done
> - * using a virNodeDevicePtr obtained from any of the above functions to
> - * avoid leaking memory.
> + * one via, virNodeDeviceLookupByName, or virNodeDeviceCreate. Be sure
s/via, virNodeDeviceLookupByName,/via virNodeDeviceLookupByName/
> + * to Call virNodeDeviceFree when done using a virNodeDevicePtr obtained
and while touching this, s/Call/call/
> + * from any of the above functions to avoid leaking memory.
> */
>
> typedef virNodeDevice *virNodeDevicePtr;
>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130102/9a0396a7/attachment-0001.sig>
More information about the libvir-list
mailing list