提交 96ee58e6 编写于 作者: M Mupceet

setparam 接口返回错误

Signed-off-by: NMupceet <laiguizhong@huawei.com>
上级 785d0068
......@@ -32,7 +32,7 @@ namespace system {
bool SetParameter(const std::string& key, const std::string& value)
{
int ret = SystemSetParameter(key.c_str(), value.c_str());
return (ret == 0) ? EC_SUCCESS : EC_FAILURE;
return (ret == 0) ? true : false;
}
template<typename T>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册