mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 22:40:03 +02:00
git-svn-id: https://iocaste.extern.pengutronix.de/svn/canutils/trunks/canutils-3.0-trunk@91 5fd5a299-6ef2-0310-aa18-8b01d7c39d8c
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user