Re: [PATCH] rt-tests: cyclictest: add '\n' symbol for printf in rstat_shm_open()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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
> 
> 




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux