fix:内源代码检视拼写错误修改

【背景】3.1代码review问题修改

    【修改方案】
     根据检视意见对拼写错误进行修改

     Signed-off-by: xuiny <xuxinyu6@huawei.com>

Change-Id: I9fb982a8ba2052fa4d56e91eec33c96ab4035a90
This commit is contained in:
x_xiny
2022-03-14 15:53:52 +08:00
parent 87a7df48b8
commit 0f75bf01a6
223 changed files with 318 additions and 318 deletions

View File

@@ -94,7 +94,7 @@ VOID *ShmWriteFunc(VOID *ptr)
shm = shmat(shmid, (void *)0, 0);
ICUNIT_ASSERT_NOT_EQUAL_NULL_VOID(shm, INVALID_PTR, shm);
printf("Memory attched at %p\n", shm);
printf("Memory attached at %p\n", shm);
shared = (struct shared_use_st *)shm;
while (1) {

View File

@@ -65,7 +65,7 @@ static int Testcase(void)
newAddr = mremap(p, pageSize, size, MREMAP_MAYMOVE, 0);
ICUNIT_ASSERT_EQUAL(newAddr, p, newAddr);
/* New region overlaping with the old one */
/* New region overlapping with the old one */
newAddr = mremap(p, size, pageSize, MREMAP_MAYMOVE | MREMAP_FIXED, p + pageSize);
ICUNIT_ASSERT_EQUAL(newAddr, MAP_FAILED, newAddr);
ICUNIT_ASSERT_EQUAL(errno, EINVAL, errno);