summaryrefslogtreecommitdiff
path: root/src/profile.c
diff options
context:
space:
mode:
authorFrederic Danis <frederic.danis@linux.intel.com>2013-08-01 16:12:58 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2013-08-01 18:52:36 +0300
commitbb8d0b6fdeb848cb875ff1aab138359a22b968e5 (patch)
tree900f32b1b5f1d1b33585953e39b84af45342ff50 /src/profile.c
parentd009995121a7b250b15ee2e97e57c04adc98927a (diff)
downloadbluez-bb8d0b6fdeb848cb875ff1aab138359a22b968e5.tar.gz
core: Fix error message in profile ext_auth function
Diffstat (limited to 'src/profile.c')
-rw-r--r--src/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profile.c b/src/profile.c
index 4a980f22b..90c35351b 100644
--- a/src/profile.c
+++ b/src/profile.c
@@ -1010,7 +1010,7 @@ static void ext_auth(DBusError *err, void *user_data)
bt_io_get(conn->io, &gerr, BT_IO_OPT_DEST, addr, BT_IO_OPT_INVALID);
if (gerr != NULL) {
error("Unable to get connect data for %s: %s",
- ext->name, err->message);
+ ext->name, gerr->message);
g_error_free(gerr);
goto drop;
}