mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
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:
parent
0fe3340ed9
commit
14dfe93965
@ -1,5 +1,9 @@
|
|||||||
Mon Mar 2 10:16:04 +0100 2009 Jim Meyering <meyering@redhat.com>
|
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
|
plug two config-parsing leaks
|
||||||
* src/storage_conf.c (virStoragePoolDefParsePerms): Free mode string.
|
* src/storage_conf.c (virStoragePoolDefParsePerms): Free mode string.
|
||||||
(virStorageVolDefParsePerms): Likewise.
|
(virStorageVolDefParsePerms): Likewise.
|
||||||
|
@ -836,7 +836,7 @@ virStorageVolDefParsePerms(virConnectPtr conn,
|
|||||||
} else {
|
} else {
|
||||||
if (virXPathLong(conn, "number(/volume/permissions/group)", ctxt, &v) < 0) {
|
if (virXPathLong(conn, "number(/volume/permissions/group)", ctxt, &v) < 0) {
|
||||||
virStorageReportError(conn, VIR_ERR_XML_ERROR,
|
virStorageReportError(conn, VIR_ERR_XML_ERROR,
|
||||||
"%s", _("missing owner element"));
|
"%s", _("missing group element"));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
perms->gid = (int)v;
|
perms->gid = (int)v;
|
||||||
|
Loading…
Reference in New Issue
Block a user