]> xenbits.xensource.com Git - libvirt.git/commitdiff
po: avoid spurious double spaces in messages
authorEric Blake <eblake@redhat.com>
Wed, 18 Jul 2012 23:45:34 +0000 (17:45 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 18 Jul 2012 23:47:03 +0000 (17:47 -0600)
Noticed during the recent error cleanups.

* src/network/bridge_driver.c (networkStartRadvd): Fix spacing.
* src/openvz/openvz_conf.c (openvzReadMemConf): Likewise.
* src/qemu/qemu_command.c (qemuNetworkIfaceConnect): Likewise.
* src/qemu/qemu_hotplug.c (qemuDomainDetachNetDevice): Likewise.
* src/qemu/qemu_process.c (qemuProcessStop): Likewise.
* src/security/virt-aa-helper.c (vah_add_file): Likewise.

src/network/bridge_driver.c
src/openvz/openvz_conf.c
src/qemu/qemu_command.c
src/qemu/qemu_hotplug.c
src/qemu/qemu_process.c
src/security/virt-aa-helper.c

index 9b1964b32b40bbe4d56fdde6fbfedd6b7b53650b..5bf14120d71f160f20e3bb0dfab0c4dba878674d 100644 (file)
@@ -850,7 +850,7 @@ networkStartRadvd(virNetworkObjPtr network)
         prefix = virNetworkIpDefPrefix(ipdef);
         if (prefix < 0) {
             networkReportError(VIR_ERR_INTERNAL_ERROR,
-                               _("bridge  '%s' has an invalid prefix"),
+                               _("bridge '%s' has an invalid prefix"),
                                network->def->bridge);
             goto cleanup;
         }
index bc54012258042e2d0c613ce60563ea11397e20df..57479d4b477fb00b4e0f782f5140f9315c9cdf06 100644 (file)
@@ -511,7 +511,7 @@ openvzReadMemConf(virDomainDefPtr def, int veid)
         ret = openvzParseBarrierLimit(temp, &barrier, NULL);
         if (ret < 0) {
             openvzError(VIR_ERR_INTERNAL_ERROR,
-                        _("Could not parse  barrier of '%s' "
+                        _("Could not parse barrier of '%s' "
                           "from config for container %d"), param, veid);
             goto error;
         }
index 09215afe1c765f93173ce3ed46d60f74d912fae8..401374063a22ef896727b45398764097b6ad60bc 100644 (file)
@@ -265,7 +265,7 @@ qemuNetworkIfaceConnect(virDomainDefPtr def,
     if (driver->macFilter) {
         if ((err = networkAllowMacOnPort(driver, net->ifname, &net->mac))) {
             virReportSystemError(err,
-                 _("failed to add ebtables rule to allow MAC address on  '%s'"),
+                 _("failed to add ebtables rule to allow MAC address on '%s'"),
                                  net->ifname);
         }
     }
index 09c8c976073c3874cb5f5c37f5d84421e23bc101..5a9a6f74c88c938c9089ea308bbd44cf393bac1a 100644 (file)
@@ -2293,7 +2293,7 @@ qemuDomainDetachNetDevice(struct qemud_driver *driver,
                                               detach->ifname,
                                               &detach->mac))) {
             virReportSystemError(errno,
-             _("failed to remove ebtables rule on  '%s'"),
+             _("failed to remove ebtables rule on '%s'"),
                                  detach->ifname);
         }
     }
index d8169e871bf3774c9eb7a749a1010c4a7c241e39..b260a20199ef2cd57b0b124b3b097ffc1dbfd213 100644 (file)
@@ -4029,7 +4029,7 @@ void qemuProcessStop(struct qemud_driver *driver,
             if ((errno = networkDisallowMacOnPort(driver, net->ifname,
                                                   &net->mac))) {
                 virReportSystemError(errno,
-             _("failed to remove ebtables rule to allow MAC address on  '%s'"),
+             _("failed to remove ebtables rule to allow MAC address on '%s'"),
                                      net->ifname);
             }
         }
index 7b41d38498308eb8115e4b1bf5d8dba14ff6d596..056362cfc5fac54069e33eca97d7feb24f106b43 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * virt-aa-helper: wrapper program used by AppArmor security driver.
  *
- * Copyright (C) 2010-2011 Red Hat, Inc.
+ * Copyright (C) 2010-2012 Red Hat, Inc.
  * Copyright (C) 2009-2011 Canonical Ltd.
  *
  * See COPYING.LIB for the License of this software
@@ -762,14 +762,14 @@ vah_add_file(virBufferPtr buf, const char *path, const char *perms)
      */
     if (STRNEQLEN(path, "/", 1)) {
         vah_warning(path);
-        vah_warning(_("  skipped non-absolute path"));
+        vah_warning(_("skipped non-absolute path"));
         return 0;
     }
 
     if (virFileExists(path)) {
         if ((tmp = realpath(path, NULL)) == NULL) {
             vah_error(NULL, 0, path);
-            vah_error(NULL, 0, _("  could not find realpath for disk"));
+            vah_error(NULL, 0, _("could not find realpath for disk"));
             return rc;
         }
     } else
@@ -783,7 +783,7 @@ vah_add_file(virBufferPtr buf, const char *path, const char *perms)
     if (rc != 0) {
         if (rc > 0) {
             vah_error(NULL, 0, path);
-            vah_error(NULL, 0, _("  skipped restricted file"));
+            vah_error(NULL, 0, _("skipped restricted file"));
         }
         goto clean;
     }