Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
socketcan-bcm: Fix wrongly opened socket
[apps/agl-service-can-low-level.git]
/
low-can-binding
/
utils
/
socketcan-bcm.cpp
diff --git
a/low-can-binding/utils/socketcan-bcm.cpp
b/low-can-binding/utils/socketcan-bcm.cpp
index
e992ccb
..
515b2fb
100644
(file)
--- 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
{