From 88ecb64b931d87ea15bf33220f9728b8b976008c Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Fri, 23 Aug 2013 11:26:38 +0200 Subject: [PATCH] bluetooth: Make the default adapter callback error less confusing Many people translated the "No such adapter" error string as "Hey, there is no NFC adapter on this machine". Let's be a little clearer. --- src/bluetooth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bluetooth.c b/src/bluetooth.c index 7cf4efc..3e67f1c 100644 --- a/src/bluetooth.c +++ b/src/bluetooth.c @@ -562,7 +562,7 @@ static void bt_get_default_adapter_cb(DBusPendingCall *pending, void *user_data) return; cb_fail: - near_error("%s", error.message); + near_error("Could not get Bluetooth default adapter %s", error.message); dbus_error_free(&error); dbus_message_unref(reply); -- 2.7.4