格式修改

Signed-off-by: xlei1030 <xionglei6@huawei.com>
This commit is contained in:
xlei1030 2022-03-31 21:19:07 +08:00
parent 1bcd280eef
commit fa663d1615

View File

@ -659,19 +659,19 @@ 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},
{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);