Re: [PATCH] Remove the inexistent function in comments

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

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]