projects
/
platform
/
core
/
system
/
deviced.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9535982
)
usbhost: Fix signature of OpenDevice result
05/181405/1
submit/tizen/20180615.023805
author
Paweł Szewczyk
<p.szewczyk@samsung.com>
Wed, 13 Jun 2018 09:44:16 +0000
(11:44 +0200)
committer
Paweł Szewczyk
<p.szewczyk@samsung.com>
Wed, 13 Jun 2018 09:44:28 +0000
(11:44 +0200)
The OpenDevice method is expected to return two values: return code and
a file descriptor.
Change-Id: I523f7a74a132e6aef198fb97d1f58d64a2901367
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
src/usbhost/usb-host.c
patch
|
blob
|
history
diff --git
a/src/usbhost/usb-host.c
b/src/usbhost/usb-host.c
index
24876f2
..
79f97e7
100644
(file)
--- a/
src/usbhost/usb-host.c
+++ b/
src/usbhost/usb-host.c
@@
-833,7
+833,7
@@
static void finish_opening(struct usbhost_open_request *req, int policy)
goto out;
}
- g_dbus_method_invocation_return_value_with_unix_fd_list(req->invocation, g_variant_new("(i
)", ret
), fd_list);
+ g_dbus_method_invocation_return_value_with_unix_fd_list(req->invocation, g_variant_new("(i
h)", ret, 0
), fd_list);
g_object_unref(fd_list);