[libvirt] [PATCH] util: Fix warning message in previous patch

Peter Krempa pkrempa at redhat.com
Wed Dec 12 13:21:31 UTC 2012


I didn't notice the extra "does" in the previous patch. Remove it.
---
My mistake. Pushed under trivial rule.
---
 src/util/util.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/util.c b/src/util/util.c
index 27af3c6..05e7ca7 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)));
         }

-- 
1.8.0




More information about the libvir-list mailing list