提交 3dd23b61 编写于 作者: M Michal Privoznik

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: NMichal Privoznik <mprivozn@redhat.com>
上级 5a2bd4c9
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册