From 14dfe93965f2180d60ae4b90f4d75144e6c4ed5c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 2 Mar 2009 10:27:20 +0000 Subject: [PATCH] correct a typo in a diagnostic * src/storage_conf.c (virStorageVolDefParsePerms): Correct a typo: s/owner/group/. Patch by Ryota Ozaki. --- ChangeLog | 4 ++++ src/storage_conf.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 18bebae211..2abfa327ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ Mon Mar 2 10:16:04 +0100 2009 Jim Meyering + 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. diff --git a/src/storage_conf.c b/src/storage_conf.c index 46bde6f7d3..9c13e07d84 100644 --- a/src/storage_conf.c +++ b/src/storage_conf.c @@ -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;