From: Stefan Tatschner Date: Mon, 9 Nov 2015 13:17:09 +0000 (+0100) Subject: can-doc: Add missing semicolon to example X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e2807e67d58328053dc3b6f4b91033ca4ab21c0d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Marc Kleine-Budde Signed-off-by: Jonathan Corbet --- diff --git a/Documentation/networking/can.txt b/Documentation/networking/can.txt index fd1a1aad49a9..957e3a4388a8 100644 --- a/Documentation/networking/can.txt +++ b/Documentation/networking/can.txt @@ -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)); (..)