render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
Blob Blame History Raw
From b45d3910972d3c962ddd2e50defdaf59dd4d4620 Mon Sep 17 00:00:00 2001
Message-Id: <b45d3910972d3c962ddd2e50defdaf59dd4d4620@dist-git>
From: Eric Blake <eblake@redhat.com>
Date: Tue, 18 Feb 2014 15:45:29 -0700
Subject: [PATCH] maint: fix comment typos

https://bugzilla.redhat.com/show_bug.cgi?id=1045643
prereq of CVE-2013-6456

* 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)
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
---
 src/lxc/lxc_controller.c | 2 +-
 src/lxc/lxc_driver.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lxc/lxc_controller.c b/src/lxc/lxc_controller.c
index cb2db82..1200bf1 100644
--- a/src/lxc/lxc_controller.c
+++ b/src/lxc/lxc_controller.c
@@ -1699,7 +1699,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;
diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
index a6efaa4..48456ad 100644
--- a/src/lxc/lxc_driver.c
+++ b/src/lxc/lxc_driver.c
@@ -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)
-- 
1.9.0