Message ID | b5d8bafb-6bd2-7fec-2f78-86c6d2508408@huawei.com |
---|---|
State | New |
Headers | show |
Series | rt-tests: cyclictest: add '\n' symbol for printf in rstat_shm_open() | expand |
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);
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@huawei.com> --- src/cyclictest/cyclictest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)