]> xenbits.xensource.com Git - libvirt.git/commitdiff
correct a typo in a diagnostic
authorJim Meyering <meyering@redhat.com>
Mon, 2 Mar 2009 10:27:20 +0000 (10:27 +0000)
committerJim Meyering <meyering@redhat.com>
Mon, 2 Mar 2009 10:27:20 +0000 (10:27 +0000)
* src/storage_conf.c (virStorageVolDefParsePerms): Correct a typo:
s/owner/group/.  Patch by Ryota Ozaki.

ChangeLog
src/storage_conf.c

index 18bebae211fc717e3ce89ee915c90646ae975d0e..2abfa327cee3e9b576b3e717f47e205fe975c11b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 Mon Mar 2 10:16:04 +0100 2009 Jim Meyering <meyering@redhat.com>
 
+       correct a typo in a diagnostic
+       * src/storage_conf.c (virStorageVolDefParsePerms): Correct a typo:
+       s/owner/group/.  Patch by Ryota Ozaki.
+
        plug two config-parsing leaks
        * src/storage_conf.c (virStoragePoolDefParsePerms): Free mode string.
        (virStorageVolDefParsePerms): Likewise.
index 46bde6f7d3ffb5d2f0f652cc6e6eeff83cd3ace3..9c13e07d8490254775172bbc72c190666464585d 100644 (file)
@@ -836,7 +836,7 @@ virStorageVolDefParsePerms(virConnectPtr conn,
     } else {
         if (virXPathLong(conn, "number(/volume/permissions/group)", ctxt, &v) < 0) {
             virStorageReportError(conn, VIR_ERR_XML_ERROR,
-                                  "%s", _("missing owner element"));
+                                  "%s", _("missing group element"));
             return -1;
         }
         perms->gid = (int)v;