diff --git a/interfaces/innerkits/syspara/param_wrapper.cpp b/interfaces/innerkits/syspara/param_wrapper.cpp index fb7145007372426bbc0f921ab1c1847741a5d190..9962c2e0aa077ca5fa227e78cf56c6252ddcbf61 100755 --- a/interfaces/innerkits/syspara/param_wrapper.cpp +++ b/interfaces/innerkits/syspara/param_wrapper.cpp @@ -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