[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1458632442-6878-2-git-send-email-peterx@redhat.com>
Date: Tue, 22 Mar 2016 15:40:41 +0800
From: Peter Xu <peterx@...hat.com>
To: linux-kernel@...r.kernel.org, srostedt@...hat.com
Cc: peterx@...hat.com
Subject: [PATCH trace-cmd 1/2] trace-cmd-listen: remove useless printf
This line is useless since we will get more verbose info in
do_connection(). Another problem is, we will get this "connected!" line
everytime after we hit "ctrl-c" for "trace-cmd listen". We possibly do
not want that.
Signed-off-by: Peter Xu <peterx@...hat.com>
---
trace-listen.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/trace-listen.c b/trace-listen.c
index 1e38eda..12cc9c5 100644
--- a/trace-listen.c
+++ b/trace-listen.c
@@ -721,7 +721,6 @@ static void do_accept_loop(int sfd)
do {
cfd = accept(sfd, (struct sockaddr *)&peer_addr,
&peer_addr_len);
- printf("connected!\n");
if (cfd < 0 && errno == EINTR)
continue;
if (cfd < 0)
--
2.4.3
Powered by blists - more mailing lists