bluetooth: Make the default adapter callback error less confusing
authorSamuel Ortiz <sameo@linux.intel.com>
Fri, 23 Aug 2013 09:26:38 +0000 (11:26 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 23 Aug 2013 09:26:38 +0000 (11:26 +0200)
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

index 7cf4efc..3e67f1c 100644 (file)
@@ -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);