maint: fix comment typos

* src/lxc/lxc_controller.c (virLXCControllerSetupDisk): Fix typo.
* src/lxc/lxc_driver.c (lxcDomainAttachDeviceDiskLive): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit 8de47efd3fdb27d99bc457cc4163d7b5f8595268)
This commit is contained in:
Eric Blake 2013-09-26 15:40:34 -06:00 committed by Daniel P. Berrange
parent 268ef38d12
commit 5daffc54b0
2 changed files with 2 additions and 2 deletions

View File

@ -1695,7 +1695,7 @@ static int virLXCControllerSetupDisk(virLXCControllerPtr ctrl,
goto cleanup;
/* Labelling normally operates on src, but we need
* to actally label the dst here, so hack the config */
* to actually label the dst here, so hack the config */
def->src = dst;
if (virSecurityManagerSetImageLabel(securityDriver, ctrl->def, def) < 0)
goto cleanup;

View File

@ -3145,7 +3145,7 @@ lxcDomainAttachDeviceDiskLive(virLXCDriverPtr driver,
created = true;
/* Labelling normally operates on src, but we need
* to actally label the dst here, so hack the config */
* to actually label the dst here, so hack the config */
def->src = dst;
if (virSecurityManagerSetImageLabel(driver->securityManager,
vm->def, def) < 0)