summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2012-12-12 14:19:03 +0100
committerPeter Krempa <pkrempa@redhat.com>2012-12-12 14:19:03 +0100
commitab8d323319cf698b54a218ca1a0f6d1f40792c6a (patch)
tree62e3764f062fc9667aeb9a10caa823182bb00d91
parent96460a19870d4442b9dae3bb928ea0cd8d455369 (diff)
downloadlibvirt-ab8d323319cf698b54a218ca1a0f6d1f40792c6a.tar.gz
util: Fix warning message in previous patch
I didn't notice the extra "does" in the previous patch. Remove it.
-rw-r--r--src/util/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/util.c b/src/util/util.c
index 27af3c6713..05e7ca7d26 100644
--- a/src/util/util.c
+++ b/src/util/util.c
@@ -2536,7 +2536,7 @@ virGetUserIDByName(const char *name, uid_t *uid)
/* log the possible error from getpwnam_r. Unfortunately error
* reporting from this function is bad and we can't really
* rely on it, so we just report that the user wasn't found */
- VIR_WARN("User record for user '%s' does was not found: %s",
+ VIR_WARN("User record for user '%s' was not found: %s",
name, virStrerror(rc, buf, sizeof(buf)));
}
@@ -2620,7 +2620,7 @@ virGetGroupIDByName(const char *name, gid_t *gid)
/* log the possible error from getgrnam_r. Unfortunately error
* reporting from this function is bad and we can't really
* rely on it, so we just report that the user wasn't found */
- VIR_WARN("Group record for user '%s' does was not found: %s",
+ VIR_WARN("Group record for user '%s' was not found: %s",
name, virStrerror(rc, buf, sizeof(buf)));
}