From: Mauro Carvalho Chehab Date: Sat, 2 Mar 2013 15:23:45 +0000 (-0300) Subject: dvbv5-scan: don't be too verbose with status X-Git-Tag: v4l-utils-0.9.4~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=452358ca38c0f194e2a88a1dacf29373ff9c6beb;p=platform%2Fupstream%2Fv4l-utils.git dvbv5-scan: don't be too verbose with status As it tries to get status on every 100ms, it ends that too much verbosity is produced. Don't do that. Instead, keep printing the status at the same line. This is nicer. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/utils/dvb/dvbv5-scan.c b/utils/dvb/dvbv5-scan.c index 4a3e818..bc248dd 100644 --- a/utils/dvb/dvbv5-scan.c +++ b/utils/dvb/dvbv5-scan.c @@ -166,11 +166,6 @@ static int print_frontend_stats(struct arguments *args, fflush(stderr); - /* While not lock, display status on a new line */ - dvb_fe_retrieve_stats(parms, DTV_STATUS, &status); - if (!isatty(STDERR_FILENO) || !(status & FE_HAS_LOCK)) - fprintf(stderr, "\n"); - return 0; }