提交 4fbb100b 编写于 作者: W wusongqing

updated printf in two md files

Signed-off-by: Nwusongqing <wusongqing@huawei.com>
上级 4a54de06
......@@ -203,7 +203,7 @@ VOID Example_DynMem(VOID)
/* Assign a value.*/
*mem = 828;
printf("*Memory = %d\n", *mem);
printf("*mem = %d\n", *mem);
/* Release memory.*/
ret = LOS_MemFree(g_testPool, mem);
......@@ -224,7 +224,7 @@ The output is as follows:
```
Memory pool initialized.
Memory allocated.
*Memory = 828
*mem = 828
Memory released.
```
......@@ -224,7 +224,7 @@ VOID Example_DynMem(VOID)
/*赋值*/
*mem = 828;
printf("*Memory = %d\n", *mem);
printf("*mem = %d\n", *mem);
/*释放内存*/
ret = LOS_MemFree(g_testPool, mem);
......@@ -245,7 +245,7 @@ VOID Example_DynMem(VOID)
```
Memory pool initialized.
Memory allocated.
*Memory = 828
*mem = 828
Memory released.
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册