[libvirt] [PATCH] virconf: fix the inconsistent name

Cao jin caoj.fnst at cn.fujitsu.com
Tue Aug 18 12:38:07 UTC 2015


Fix the name inconsistency between func comments and parameter
of virConfGetValue/virConfSetValue

Signed-off-by: Cao jin <caoj.fnst at cn.fujitsu.com>
---
 src/util/virconf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/virconf.c b/src/util/virconf.c
index 86d76b5..ab98c5c 100644
--- a/src/util/virconf.c
+++ b/src/util/virconf.c
@@ -840,7 +840,7 @@ virConfFree(virConfPtr conf)
 /**
  * virConfGetValue:
  * @conf: a configuration file handle
- * @entry: the name of the entry
+ * @setting: the name of the entry
  *
  * Lookup the value associated to this entry in the configuration file
  *
@@ -870,7 +870,7 @@ virConfGetValue(virConfPtr conf, const char *setting)
 /**
  * virConfSetValue:
  * @conf: a configuration file handle
- * @entry: the name of the entry
+ * @setting: the name of the entry
  * @value: the new configuration value
  *
  * Set (or replace) the value associated to this entry in the configuration
-- 
2.1.0




More information about the libvir-list mailing list