aboutsummaryrefslogtreecommitdiff
path: root/compat/bnep.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/bnep.c')
-rw-r--r--compat/bnep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/compat/bnep.c b/compat/bnep.c
index 9b0d8b8c..24bf7e34 100644
--- a/compat/bnep.c
+++ b/compat/bnep.c
@@ -137,9 +137,10 @@ int bnep_show_connections(void)
}
for (i = 0; i < req.cnum; i++) {
+ char addr[18];
+ ba2str((bdaddr_t *) ci[i].dst, addr);
printf("%s %s %s\n", ci[i].device,
- batostr((bdaddr_t *) ci[i].dst),
- bnep_svc2str(ci[i].role));
+ addr, bnep_svc2str(ci[i].role));
}
return 0;
}