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:
0ee137d
)
dvbv5-scan: Fix print message on nameless service ID's
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 15 Jan 2012 23:19:03 +0000
(21:19 -0200)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 15 Jan 2012 23:50:42 +0000
(21:50 -0200)
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
dca614f
..
e850a60
100644
(file)
--- a/
utils/dvb/dvbv5-scan.c
+++ b/
utils/dvb/dvbv5-scan.c
@@
-390,9
+390,11
@@
static int run_scan(struct arguments *args,
entry->vchannel = dvb_vchannel(dvb_desc, i);
if (service_table->service_name)
printf("Service #%d: %s", i, service_table->service_name);
- if (entry->vchannel)
- printf(" channel %s", entry->vchannel);
- printf("\n");
+ else
+ printf("Service #%d", i);
+ if (entry->vchannel)
+ printf(" channel %s", entry->vchannel);
+ printf("\n");
}
store_dvb_channel(&dvb_file_new, parms, dvb_desc,