From: Alex Jia Date: Fri, 16 Mar 2012 09:49:11 +0000 (+0800) Subject: libvirt: fix comment typo X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=8233dcc79bb241c223275912458e1ce29bf2f325;p=libvirt.git libvirt: fix comment typo * src/libvirt.c (virStorageVolResize): correct comment typo according to virStorageVolResizeFlags enum definition. Signed-off-by: Alex Jia --- diff --git a/src/libvirt.c b/src/libvirt.c index d0b1b28d44..7f8d42c797 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -13324,15 +13324,15 @@ error: * capacity; this may make the operation take noticeably longer. * * Normally, the operation treats @capacity as the new size in bytes; - * but if @flags contains VIR_STORAGE_RESIZE_DELTA, then @capacity + * but if @flags contains VIR_STORAGE_VOL_RESIZE_DELTA, then @capacity * represents the size difference to add to the current size. It is * up to the storage pool implementation whether unaligned requests are * rounded up to the next valid boundary, or rejected. * * Normally, this operation should only be used to enlarge capacity; - * but if @flags contains VIR_STORAGE_RESIZE_SHRINK, it is possible to + * but if @flags contains VIR_STORAGE_VOL_RESIZE_SHRINK, it is possible to * attempt a reduction in capacity even though it might cause data loss. - * If VIR_STORAGE_RESIZE_DELTA is also present, then @capacity is + * If VIR_STORAGE_VOL_RESIZE_DELTA is also present, then @capacity is * subtracted from the current size; without it, @capacity represents * the absolute new size regardless of whether it is larger or smaller * than the current size.