]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
util: Fix warning message in previous patch
authorPeter Krempa <pkrempa@redhat.com>
Wed, 12 Dec 2012 13:19:03 +0000 (14:19 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 12 Dec 2012 13:19:03 +0000 (14:19 +0100)
I didn't notice the extra "does" in the previous patch. Remove it.

src/util/util.c

index 27af3c6713f7d54d1e9ff05688b61f6430bf6866..05e7ca7d2626ec1cc1e73ad8351f36484fcad906 100644 (file)
@@ -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)));
         }