提交 943eb14a 编写于 作者: X xionglei6

init: fix bugs

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 c7e374ea
......@@ -62,7 +62,7 @@ int SetImportantValue(Service *service, const char *attrName, int value, int fla
return SERVICE_SUCCESS;
}
int ServiceExec(const Service *service)
int ServiceExec(Service *service)
{
INIT_ERROR_CHECK(service != NULL && service->pathArgs.count > 0,
return SERVICE_FAILURE, "Exec service failed! null ptr.");
......@@ -73,4 +73,4 @@ int ServiceExec(const Service *service)
return errno;
}
return SERVICE_SUCCESS;
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册