提交 1bcd280e 编写于 作者: X xlei1030

修改格式

Signed-off-by: Nxlei1030 <xionglei6@huawei.com>
上级 27798469
......@@ -658,20 +658,20 @@ static int SnDealFun(const char* name, const char* value, int res)
static int LoadParamFromCmdLine(void)
{
int ret;
static const cmdLineInfo cmdLines[] = { {OHOS_BOOT"hardware", CommonDealFun},
{OHOS_BOOT"bootgroup", CommonDealFun},
{OHOS_BOOT"reboot_reason", CommonDealFun},
{OHOS_BOOT"sn", SnDealFun},
static const cmdLineInfo cmdLines[] = {{OHOS_BOOT"hardware", CommonDealFun},
{OHOS_BOOT"bootgroup", CommonDealFun},
{OHOS_BOOT"reboot_reason", CommonDealFun},
{OHOS_BOOT"sn", SnDealFun},
#ifdef STARTUP_INIT_TEST
{OHOS_BOOT"mem", CommonDealFun},
{OHOS_BOOT"console", CommonDealFun},
{OHOS_BOOT"mmz", CommonDealFun},
{OHOS_BOOT"androidboot.selinux", CommonDealFun},
{OHOS_BOOT"init", CommonDealFun},
{OHOS_BOOT"root", CommonDealFun},
{OHOS_BOOT"uuid", CommonDealFun},
{OHOS_BOOT"rootfstype", CommonDealFun},
{OHOS_BOOT"blkdevparts", CommonDealFun},
{OHOS_BOOT"mem", CommonDealFun},
{OHOS_BOOT"console", CommonDealFun},
{OHOS_BOOT"mmz", CommonDealFun},
{OHOS_BOOT"androidboot.selinux", CommonDealFun},
{OHOS_BOOT"init", CommonDealFun},
{OHOS_BOOT"root", CommonDealFun},
{OHOS_BOOT"uuid", CommonDealFun},
{OHOS_BOOT"rootfstype", CommonDealFun},
{OHOS_BOOT"blkdevparts", CommonDealFun},
#endif
};
char *data = ReadFileData(PARAM_CMD_LINE);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册