]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Use unsigned long in cmdSetmem.
authorChris Lalancette <clalance@redhat.com>
Thu, 17 Jun 2010 19:36:36 +0000 (15:36 -0400)
committerChris Lalancette <clalance@redhat.com>
Tue, 20 Jul 2010 13:35:29 +0000 (09:35 -0400)
commit4af1817d1daa2377eeb64cfb72d68864615ef164
treed8235cd8d63915545a0f8b81897c05c8c8e43680
parente0f26c46ae2ad0ba71b8c5872824d85c5cefff54
Use unsigned long in cmdSetmem.

The virsh command "setmem" takes as input a number that
should represent an unsigned long number of kilobytes.  Fix
cmdSetmem to properly parse this as an unsigned long instead
of an int.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
tools/virsh.c