From 3b2985bab4b91f4097dd4017f2398e92c4964f01 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Thu, 29 Dec 2011 17:59:44 +0100 Subject: [PATCH] wiimote: Fix device_get_address to use new API Commit b06899eace1f484b387aae0e568fb1da988b468c introduced a new API for device_get_address but apparently missed fixing the call in plugins/wiimote.c. This patch converts the plugin to use the new API. --- plugins/wiimote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/wiimote.c b/plugins/wiimote.c index fead72a93..1ae638bf3 100644 --- a/plugins/wiimote.c +++ b/plugins/wiimote.c @@ -63,7 +63,7 @@ static ssize_t wii_pincb(struct btd_adapter *adapter, struct btd_device *device, char addr[18]; adapter_get_address(adapter, &sba); - device_get_address(device, &dba); + device_get_address(device, &dba, NULL); ba2str(&dba, addr); vendor = btd_device_get_vendor(device); -- 2.47.3