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:
Stefan Tatschner 2015-11-09 14:17:09 +01:00 committed by Jonathan Corbet
parent 6a13feb9c8
commit e2807e67d5
1 changed files with 1 additions and 1 deletions

View File

@ -681,7 +681,7 @@ solution for a couple of reasons:
addr.can_family = AF_CAN;
addr.can_ifindex = ifr.ifr_ifindex;
connect(s, (struct sockaddr *)&addr, sizeof(addr))
connect(s, (struct sockaddr *)&addr, sizeof(addr));
(..)