mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 18:45:16 +00:00
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:
parent
268ef38d12
commit
5daffc54b0
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user