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

Re: [libvirt] [PATCH] Remove the inexistent function in comments



On 2013年01月02日 23:04, Eric Blake wrote:
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;



Pushed this follow up fix, thanks.



diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
index 2de6835..cc3fe13 100644
--- a/include/libvirt/libvirt.h.in
+++ b/include/libvirt/libvirt.h.in
@@ -3113,8 +3113,8 @@ typedef struct _virNodeDevice virNodeDevice;
  * virNodeDevicePtr:
  *
  * A virNodeDevicePtr is a pointer to a virNodeDevice structure.  Get
- * one via, virNodeDeviceLookupByName, or virNodeDeviceCreate.  Be sure
- * to Call virNodeDeviceFree when done using a virNodeDevicePtr obtained
+ * one via virNodeDeviceLookupByName, or virNodeDeviceCreate.  Be sure
+ * to call virNodeDeviceFree when done using a virNodeDevicePtr obtained
  * from any of the above functions to avoid leaking memory.
  */
 

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