From c114a6212c8d37d1e410305436dd847a4270ca3b Mon Sep 17 00:00:00 2001 From: emax Date: Thu, 5 Aug 2004 16:32:41 +0000 Subject: - 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 --- usr.sbin/bluetooth/hcsecd/parser.y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/bluetooth/hcsecd') 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); -- cgit v1.1