This commit is contained in:
Marc Kleine-Budde
2020-10-14 18:01:50 +02:00
parent bd3ea25fe1
commit f4cec293dc
+1 -1
View File
@@ -159,7 +159,7 @@ int main(int argc, char **argv)
if (receive) {
while ((infinite || loopcount--) && running) {
nbytes = read(s, &frame, sizeof(struct can_frame);
nbytes = read(s, &frame, sizeof(struct can_frame));
if (nbytes < 0) {
perror("read");
return 1;