Detected by Coverity. Signed-off-by: Gregor Jasny <gjasny@xxxxxxxxxxxxxx> CC: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx> CC: André Roth <neolynx@xxxxxxxxx> --- lib/libdvbv5/descriptors.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libdvbv5/descriptors.c b/lib/libdvbv5/descriptors.c index 99d8fa3..9b6b050 100644 --- a/lib/libdvbv5/descriptors.c +++ b/lib/libdvbv5/descriptors.c @@ -787,9 +787,9 @@ static void parse_service(struct dvb_v5_fe_parms *parms, struct service_table *s if (verbose) { if (service_table->provider_name) printf("Provider %s", service_table->provider_name); - if (service_table->service_alias) + if (service_table->provider_alias) printf("(%s)", service_table->provider_alias); - if (service_table->provider_name || service_table->service_alias) + if (service_table->provider_name || service_table->provider_alias) printf("\n"); if (service_table->service_name) printf("Service %s", service_table->service_name); -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html