diff options
author | emax <emax@FreeBSD.org> | 2004-08-05 16:32:41 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2004-08-05 16:32:41 +0000 |
commit | c114a6212c8d37d1e410305436dd847a4270ca3b (patch) | |
tree | 6ef9a102c06ce353d524074a6e33e485a88f1c21 /usr.sbin/bluetooth/hcsecd | |
parent | 73d1afd6fde41cc69bc50752883e40b6fd763b5c (diff) | |
download | FreeBSD-src-c114a6212c8d37d1e410305436dd847a4270ca3b.zip FreeBSD-src-c114a6212c8d37d1e410305436dd847a4270ca3b.tar.gz |
- One can use both BD_ADDR or name to specify address of the Bluetooth device.
Update man pages to document this fact.
- Update usage messages
- Change u_intXXX to uintXXX
Diffstat (limited to 'usr.sbin/bluetooth/hcsecd')
-rw-r--r-- | usr.sbin/bluetooth/hcsecd/parser.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bluetooth/hcsecd/parser.y b/usr.sbin/bluetooth/hcsecd/parser.y index d2e3696..634d37a 100644 --- a/usr.sbin/bluetooth/hcsecd/parser.y +++ b/usr.sbin/bluetooth/hcsecd/parser.y @@ -106,7 +106,7 @@ option: bdaddr bdaddr: T_BDADDR T_BDADDRSTRING { if (!bt_aton($2, &key->bdaddr)) { - syslog(LOG_ERR, "Cound not parse BDADDR " \ + syslog(LOG_ERR, "Cound not parse BD_ADDR " \ "'%s'", $2); exit(1); } @@ -134,7 +134,7 @@ key: T_KEY T_HEXSTRING if (key->key != NULL) free(key->key); - key->key = (u_int8_t *) malloc(NG_HCI_KEY_SIZE); + key->key = (uint8_t *) malloc(NG_HCI_KEY_SIZE); if (key->key == NULL) { syslog(LOG_ERR, "Could not allocate new " \ "link key"); @@ -318,7 +318,7 @@ read_keys_file(void) continue; if (key->key == NULL) { - key->key = (u_int8_t *) malloc(NG_HCI_KEY_SIZE); + key->key = (uint8_t *) malloc(NG_HCI_KEY_SIZE); if (key->key == NULL) { syslog(LOG_ERR, "Could not allocate link key"); exit(1); |