can-doc: Add missing semicolon to example
The example code for CAN_BCM, connect(s, (struct sockaddr *)&addr, sizeof(addr)) lacks a semicolon at the end of the line. This patch adds that missing semicolon to ensure that the given code snippet actually compiles. Signed-off-by: Stefan Tatschner <rumpelsepp@sevenbyte.org> Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
parent
6a13feb9c8
commit
e2807e67d5
|
@ -681,7 +681,7 @@ solution for a couple of reasons:
|
||||||
addr.can_family = AF_CAN;
|
addr.can_family = AF_CAN;
|
||||||
addr.can_ifindex = ifr.ifr_ifindex;
|
addr.can_ifindex = ifr.ifr_ifindex;
|
||||||
|
|
||||||
connect(s, (struct sockaddr *)&addr, sizeof(addr))
|
connect(s, (struct sockaddr *)&addr, sizeof(addr));
|
||||||
|
|
||||||
(..)
|
(..)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue