This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: dvbv5-scan: Cleanup print_frontend_stats() printf logic
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Sun Aug 19 19:26:08 2012 -0300

Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 utils/dvb/dvbv5-scan.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=fb7c769b20aa8fabd8123f59f2ffddfcdbea7ae7

diff --git a/utils/dvb/dvbv5-scan.c b/utils/dvb/dvbv5-scan.c
index 39f699a..8dccc89 100644
--- a/utils/dvb/dvbv5-scan.c
+++ b/utils/dvb/dvbv5-scan.c
@@ -156,12 +156,12 @@ static void print_frontend_stats(struct dvb_v5_fe_parms 
*parms)
                len -= s;
        }
 
-       fprintf(stderr, "%s", buf);
-
        if (!(status & FE_HAS_LOCK))
-               printf("| tune failed\n");
+               s = snprintf(p, len, "| failed\n");
        else
-               printf("\n");
+               s = snprintf(p, len, "\n");
+
+       fprintf(stderr, "%s", buf);
 }
 
 static int check_frontend(struct dvb_v5_fe_parms *parms, int timeout)

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to