From 8efeb990d7e9305da0362a480c5c3a7110716d33 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Pawe=C5=82=20Szewczyk?=
Date: Wed, 21 Sep 2016 14:50:36 +0200
Subject: [PATCH] usbhost api: fix dbus method call to deviced
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
Change-Id: If17b9f30e2301bea9558e2899f740e952b1455b1
Signed-off-by: PaweÅ Szewczyk
---
libusb/os/linux_usbfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
--
2.7.4