Fixed that to be a valid data source e.g. for ptx cansequence.
fprint_canframe(stdout, &frame, "\n", 1);
}
fprint_canframe(stdout, &frame, "\n", 1);
}
nbytes = write(s, &frame, sizeof(struct can_frame));
if (nbytes < 0) {
if (errno != ENOBUFS) {
nbytes = write(s, &frame, sizeof(struct can_frame));
if (nbytes < 0) {
if (errno != ENOBUFS) {
if (poll(&fds, 1, polltimeout) < 0) {
perror("poll");
return 1;
if (poll(&fds, 1, polltimeout) < 0) {
perror("poll");
return 1;