Skip errored devices

This commit is contained in:
Denis 2023-12-08 15:15:59 +01:00
parent c5f10b2681
commit b3ced65452
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03
2 changed files with 5 additions and 2 deletions

View file

@ -229,7 +229,7 @@ void *dev_out_thread_func(void *ptr) {
if (in_message_pipe_read_res == sizeof(in_message_t)) {
handle_incoming_message(&incoming_message, &dev_out->dev_stats);
} else {
fprintf(stderr, "Error reading from in_message_pipe_fd: got %zu bytes, expected %zu butes", in_message_pipe_read_res, sizeof(in_message_t));
fprintf(stderr, "Error reading from in_message_pipe_fd: got %zu bytes, expected %zu butes\n", in_message_pipe_read_res, sizeof(in_message_t));
}
}
}