summaryrefslogtreecommitdiffstats
path: root/low-can-binding
diff options
context:
space:
mode:
Diffstat (limited to 'low-can-binding')
-rw-r--r--low-can-binding/utils/socketcan-bcm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/low-can-binding/utils/socketcan-bcm.cpp b/low-can-binding/utils/socketcan-bcm.cpp
index e992ccbe..515b2fb3 100644
--- a/low-can-binding/utils/socketcan-bcm.cpp
+++ b/low-can-binding/utils/socketcan-bcm.cpp
@@ -44,6 +44,7 @@ namespace utils
{
AFB_ERROR("ioctl failed. Error was : %s", strerror(errno));
close();
+ return -1;
}
else
{