Attention is currently required from: daniel. wbokslag has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-tetra/+/28926 )
Change subject: when traffic dump directory is specified, now prints error message and exits instead of crashing when traffic file cannot be written ......................................................................
Patch Set 4:
(1 comment)
File src/lower_mac/tetra_lower_mac.c:
https://gerrit.osmocom.org/c/osmo-tetra/+/28926/comment/e95722f0_2813fb14 PS3, Line 200: fprintf(stderr, "could not open dump file %s for writing\n", fname);
You could use perror or a strerror variant to include the reason it failed.
Good idea, pushed a revised version that prints the error message through strerror