Re: [PATCH 1/3] virnuma.c: Fix some comments

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

 



On Mon, Jun 02, 2014 at 02:15:58PM +0200, Michal Privoznik wrote:
> 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@xxxxxxxxxx>
> ---
>  src/util/virnuma.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/util/virnuma.c b/src/util/virnuma.c
> index bf3b9e6..1e099eb 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

ACK

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]