summaryrefslogtreecommitdiff
path: root/usr.sbin/bluetooth
diff options
context:
space:
mode:
authorMaksim Yevmenkin <emax@FreeBSD.org>2009-05-18 16:00:18 +0000
committerMaksim Yevmenkin <emax@FreeBSD.org>2009-05-18 16:00:18 +0000
commit715238635df71408bdf4cac22a213c7598da2546 (patch)
tree2bdb350e78940382a67533edf69580c0b69fbd69 /usr.sbin/bluetooth
parentf4fcd5ddec6d6820c13aa155d284116e214433de (diff)
Notes
Diffstat (limited to 'usr.sbin/bluetooth')
-rw-r--r--usr.sbin/bluetooth/btpand/btpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bluetooth/btpand/btpand.c b/usr.sbin/bluetooth/btpand/btpand.c
index 99a3bc7eacd4..938744448bea 100644
--- a/usr.sbin/bluetooth/btpand/btpand.c
+++ b/usr.sbin/bluetooth/btpand/btpand.c
@@ -101,7 +101,7 @@ main(int argc, char *argv[])
break;
case 'd': /* local address */
- if (!bt_aton(optarg, &local_bdaddr)) {
+ if (!bt_devaddr(optarg, &local_bdaddr)) {
struct hostent *he;
if ((he = bt_gethostbyname(optarg)) == NULL)