correct a typo in a diagnostic

* src/storage_conf.c (virStorageVolDefParsePerms): Correct a typo:
s/owner/group/.  Patch by Ryota Ozaki.
This commit is contained in:
Jim Meyering 2009-03-02 10:27:20 +00:00
parent 0fe3340ed9
commit 14dfe93965
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View 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;