提交 14dfe939 编写于 作者: J Jim Meyering

correct a typo in a diagnostic

* src/storage_conf.c (virStorageVolDefParsePerms): Correct a typo:
s/owner/group/.  Patch by Ryota Ozaki.
上级 0fe3340e
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.
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册