projects
/
platform
/
upstream
/
v4l-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a210f3a
)
dvbv5-scan: don't be too verbose with status
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 2 Mar 2013 15:23:45 +0000
(12:23 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 2 Mar 2013 15:26:31 +0000
(12:26 -0300)
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 <mchehab@redhat.com>
utils/dvb/dvbv5-scan.c
patch
|
blob
|
history
diff --git
a/utils/dvb/dvbv5-scan.c
b/utils/dvb/dvbv5-scan.c
index
4a3e818
..
bc248dd
100644
(file)
--- 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;
}