Print decoded frames to stdout, not stderr

This commit is contained in:
XANTRONIX Development 2020-05-23 11:09:19 -04:00 committed by XANTRONIX Industrial
parent a423467037
commit 3074af45c1

View file

@ -159,7 +159,7 @@ int main(int argc, char **argv) {
goto error_ax25_frame_decode; goto error_ax25_frame_decode;
} }
if (frame_fprint(stderr, &frame, data, len) < 0) { if (frame_fprint(stdout, &frame, data, len) < 0) {
perror("Unable to print frame"); perror("Unable to print frame");
goto error_frame_fprint; goto error_frame_fprint;