diff options
author | Stefan Tatschner <rumpelsepp@sevenbyte.org> | 2015-11-09 08:17:09 -0500 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2015-11-11 12:04:53 -0500 |
commit | e2807e67d58328053dc3b6f4b91033ca4ab21c0d (patch) | |
tree | 4c28a52cbf17c3345310e445272c3c06ba166046 /Documentation/networking | |
parent | 6a13feb9c82803e2b815eca72fa7a9f5561d7861 (diff) |
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>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/can.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
681 | addr.can_family = AF_CAN; | 681 | addr.can_family = AF_CAN; |
682 | addr.can_ifindex = ifr.ifr_ifindex; | 682 | addr.can_ifindex = ifr.ifr_ifindex; |
683 | 683 | ||
684 | connect(s, (struct sockaddr *)&addr, sizeof(addr)) | 684 | connect(s, (struct sockaddr *)&addr, sizeof(addr)); |
685 | 685 | ||
686 | (..) | 686 | (..) |
687 | 687 | ||