diff options
author | Keith Packard <keithp@keithp.com> | 2016-03-20 23:11:49 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2016-03-20 23:11:49 -0700 |
commit | 2fc47e7052a08de464f08d890e222afd7dec75d8 (patch) | |
tree | 60100dcac345ae7b372de380028d35e6dac18f83 /libaltos/libaltos_linux.c | |
parent | 4dddf0a9134690d94217ad12bc7372683276f8ba (diff) |
libaltos: Fix warning in linux libaltos code
Just returned the wrong name of the value
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'libaltos/libaltos_linux.c')
-rw-r--r-- | libaltos/libaltos_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libaltos/libaltos_linux.c b/libaltos/libaltos_linux.c index d7cd15cf..2065d74a 100644 --- 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: |