aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2012-07-18 17:45:34 -0600
committerEric Blake <eblake@redhat.com>2012-07-18 17:47:03 -0600
commit99f1faf77770aab6a328ab3c4cfc4bbb42c163e1 (patch)
treed97607fa6580217b0c4c1b8cc79b4e8fb3c09ab7 /src/security
parentbuild: fix compilation without struct ifreq (diff)
downloadlibvirt-99f1faf77770aab6a328ab3c4cfc4bbb42c163e1.tar.gz
libvirt-99f1faf77770aab6a328ab3c4cfc4bbb42c163e1.tar.bz2
libvirt-99f1faf77770aab6a328ab3c4cfc4bbb42c163e1.zip
po: avoid spurious double spaces in messages
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.
Diffstat (limited to 'src/security')
-rw-r--r--src/security/virt-aa-helper.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
index 7b41d3849..056362cfc 100644
--- a/src/security/virt-aa-helper.c
+++ b/src/security/virt-aa-helper.c
@@ -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;
}