]> xenbits.xensource.com Git - libvirt.git/commitdiff
virnuma.c: Fix some comments
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 2 Jun 2014 10:05:28 +0000 (12:05 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 3 Jun 2014 06:58:24 +0000 (08:58 +0200)
In 9dd02965 the virNumaGetNodeMemory was introduced, however the
comment describing the function mentions virNumaGetNodeMemorySize.
And there's one typo in virNumaIsAvailable() description.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/util/virnuma.c

index bf3b9e644bf02c7fb05cd8d3ff5c721d377eac55..1e099eb403e4c3f4e496a6b51ede230bf9e6f23a 100644 (file)
@@ -193,7 +193,7 @@ virNumaIsAvailable(void)
  * Get the highest node number available on the current system.
  * (See the node numbers in /sys/devices/system/node/ ).
  *
- * Returns the highes NUMA node id on success, -1 on error.
+ * Returns the highest NUMA node id on success, -1 on error.
  */
 int
 virNumaGetMaxNode(void)
@@ -217,7 +217,7 @@ virNumaGetMaxNode(void)
 
 
 /**
- * virNumaGetNodeMemorySize:
+ * virNumaGetNodeMemory:
  * @node: identifier of the requested NUMA node
  * @memsize: returns the total size of memory in the NUMA node
  * @memfree: returns the total free memory in a NUMA node