write tuning info to stderr instead of stdout when writing dvr to stdout

This commit is contained in:
Marcus Metzler 2020-01-15 15:47:13 +01:00
parent 74e040f020
commit 2c6530aa8d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}