git-svn-id: https://iocaste.extern.pengutronix.de/svn/canutils/trunks/canutils-3.0-trunk@91 5fd5a299-6ef2-0310-aa18-8b01d7c39d8c
parent
bd3ea25fe1
commit
f4cec293dc
|
|
@ -159,7 +159,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
if (receive) {
|
if (receive) {
|
||||||
while ((infinite || loopcount--) && running) {
|
while ((infinite || loopcount--) && running) {
|
||||||
nbytes = read(s, &frame, sizeof(struct can_frame);
|
nbytes = read(s, &frame, sizeof(struct can_frame));
|
||||||
if (nbytes < 0) {
|
if (nbytes < 0) {
|
||||||
perror("read");
|
perror("read");
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue