linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Kacur <jkacur@redhat.com>
To: Yunfeng Ye <yeyunfeng@huawei.com>
Cc: williams@redhat.com, linux-rt-users@vger.kernel.org,
	Shiyuan Hu <hushiyuan@huawei.com>,
	Hewenliang <hewenliang4@huawei.com>
Subject: Re: [PATCH] rt-tests: cyclictest: add '\n' symbol for printf in rstat_shm_open()
Date: Wed, 1 Jul 2020 11:38:23 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LFD.2.21.2007011137180.7008@planxty> (raw)
In-Reply-To: <b5d8bafb-6bd2-7fec-2f78-86c6d2508408@huawei.com>



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@huawei.com>
> ---
>  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?

Thanks

John Kacur

  reply	other threads:[~2020-07-01 15:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-20  2:44 [PATCH] rt-tests: cyclictest: add '\n' symbol for printf in rstat_shm_open() Yunfeng Ye
2020-07-01 15:38 ` John Kacur [this message]
2020-07-02  1:25   ` Yunfeng Ye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.21.2007011137180.7008@planxty \
    --to=jkacur@redhat.com \
    --cc=hewenliang4@huawei.com \
    --cc=hushiyuan@huawei.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=williams@redhat.com \
    --cc=yeyunfeng@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).