From: Michal Privoznik Date: Mon, 2 Jun 2014 10:05:28 +0000 (+0200) Subject: virnuma.c: Fix some comments X-Git-Tag: v1.2.6-rc1~228 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dd23b6106c848a63e5976ecd342d04de6a1d613;p=thirdparty%2Flibvirt.git virnuma.c: Fix some comments 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 --- diff --git a/src/util/virnuma.c b/src/util/virnuma.c index bf3b9e644b..1e099eb403 100644 --- a/src/util/virnuma.c +++ b/src/util/virnuma.c @@ -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