From: Paweł Szewczyk
Date: Wed, 21 Sep 2016 12:50:36 +0000 (+0200)
Subject: usbhost api: fix dbus method call to deviced
X-Git-Tag: accepted/tizen/3.0.m2/mobile/20170105.024707^0
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_3.0.m2_wearable;p=platform%2Fupstream%2Flibusb.git
usbhost api: fix dbus method call to deviced
Change-Id: If17b9f30e2301bea9558e2899f740e952b1455b1
Signed-off-by: Paweł Szewczyk
---
diff --git a/libusb/os/linux_usbfs.c b/libusb/os/linux_usbfs.c
index 948d065..056e02d 100644
--- a/libusb/os/linux_usbfs.c
+++ b/libusb/os/linux_usbfs.c
@@ -242,7 +242,7 @@ DBusMessage *dbus_method_sync_with_reply(const char *dest, const char *path,
}
dbus_message_iter_init_append(msg, &iter);
- dbus_message_iter_append_basic(&iter, DBUS_TYPE_STRING, &path);
+ dbus_message_iter_append_basic(&iter, DBUS_TYPE_STRING, ¶m);
dbus_error_init(&err);