On 2020/7/1 23:38, John Kacur wrote: > > > On Sat, 20 Jun 2020, Yunfeng Ye wrote: > >> The infomation "pid = xxx" is printed with other infomation on the same >> line. so add '\n' symbol for printf in rstat_shm_open(). >> >> Signed-off-by: yeyunfeng <yeyunfeng@xxxxxxxxxx> >> --- >> src/cyclictest/cyclictest.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c >> index b3d72caa10ce..d1c148563dad 100644 >> --- a/src/cyclictest/cyclictest.c >> +++ b/src/cyclictest/cyclictest.c >> @@ -1910,7 +1910,7 @@ static int rstat_shm_open(void) >> pid_t pid; >> >> pid = getpid(); >> - printf("pid = %d", pid); >> + printf("pid = %d\n", pid); >> >> snprintf(shm_name, SHM_BUF_SIZE, "%s%d", "/cyclictest", pid); >> >> -- >> 1.8.3.1 >> >> > oops, that looks like my debug code that I forgot to remove. Do you want > to send a patch removing that line? > ok, I will send a patch v2, thanks. > Thanks > > John Kacur > >