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