Detected by Coverity.

Signed-off-by: Gregor Jasny <gja...@googlemail.com>
CC: Mauro Carvalho Chehab <mche...@infradead.org>
CC: André Roth <neol...@gmail.com>
---
 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to