]> xenbits.xensource.com Git - libvirt.git/commitdiff
doc: Fix copy-paste-error in virNodeGetMemoryStats
authorPhilipp Hahn <hahn@univention.de>
Mon, 22 Jul 2013 11:58:16 +0000 (13:58 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 22 Jul 2013 14:53:44 +0000 (16:53 +0200)
The description seems to be copied from virNodeGetCpuState.
Change wrong 'cpu' to 'memory'.

Signed-off-by: Philipp Hahn <hahn@univention.de>
src/libvirt.c

index 3b4d360c932219c8a6283942a424036b366250e7..444c1c329371e135ad12085d7cceaf66b0515e45 100644 (file)
@@ -7661,7 +7661,7 @@ error:
  * @flags: extra flags; not used yet, so callers should always pass 0
  *
  * This function provides memory stats of the node.
- * If you want to get total cpu statistics of the node, you must specify
+ * If you want to get total memory statistics of the node, you must specify
  * VIR_NODE_MEMORY_STATS_ALL_CELLS to @cellNum.
  * The @params array will be filled with the values equal to the number of
  * stats suggested by @nparams