From e4b1c1a07706ebae08ed08b32a6d4e4e78b6c65b Mon Sep 17 00:00:00 2001 From: Marcus Metzler Date: Wed, 15 Jan 2020 09:12:37 +0100 Subject: [PATCH] set output of tuning information to stderr when ddzap write dvr device to stdout --- lib/ddzap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ddzap.c b/lib/ddzap.c index f403c5c..3119fb9 100644 --- a/lib/ddzap.c +++ b/lib/ddzap.c @@ -244,7 +244,7 @@ int main(int argc, char **argv) str = dddvb_get_strength(fe); cnr = dddvb_get_cnr(fe); - printf("stat=%02x, str=%lld.%03llddB, snr=%lld.%03llddB \n", + fprintf(stderr,"stat=%02x, str=%lld.%03llddB, snr=%lld.%03llddB \n", stat, str/1000, abs(str%1000), cnr/1000, abs(cnr%1000)); sleep(1); }