From: Samuel Ortiz Date: Fri, 23 Aug 2013 09:26:38 +0000 (+0200) Subject: bluetooth: Make the default adapter callback error less confusing X-Git-Tag: 0.13~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88ecb64b931d87ea15bf33220f9728b8b976008c;p=platform%2Fupstream%2Fneard.git 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. --- 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);