projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dddf0a
)
libaltos: Fix warning in linux libaltos code
author
Keith Packard
<keithp@keithp.com>
Mon, 21 Mar 2016 06:11:49 +0000
(23:11 -0700)
committer
Keith Packard
<keithp@keithp.com>
Mon, 21 Mar 2016 06:11:49 +0000
(23:11 -0700)
Just returned the wrong name of the value
Signed-off-by: Keith Packard <keithp@keithp.com>
libaltos/libaltos_linux.c
patch
|
blob
|
history
diff --git
a/libaltos/libaltos_linux.c
b/libaltos/libaltos_linux.c
index d7cd15cfe79357a92b7f44c680c9b8bb6038ca4a..2065d74af7648e883b23a596808c983043917d5a 100644
(file)
--- a/
libaltos/libaltos_linux.c
+++ b/
libaltos/libaltos_linux.c
@@
-517,7
+517,7
@@
altos_bt_open(struct altos_bt_device *device)
#else
file->out_fd = dup(file->fd);
#endif
- return file;
+ return
&file->
file;
no_link:
close(file->fd);
no_sock: