diff options
author | Maksim Yevmenkin <emax@FreeBSD.org> | 2005-01-04 20:13:48 +0000 |
---|---|---|
committer | Maksim Yevmenkin <emax@FreeBSD.org> | 2005-01-04 20:13:48 +0000 |
commit | 6a2dbfa47f6df7d9dda9aac2dc6345fb6fe5cefa (patch) | |
tree | 3dfb9cc35663c4259d1fbb20f9599092a26abcb1 /usr.sbin/bluetooth | |
parent | 51c86fb5836035e374a05bac6bcef49a76a8a49c (diff) | |
download | src-6a2dbfa47f6df7d9dda9aac2dc6345fb6fe5cefa.tar.gz src-6a2dbfa47f6df7d9dda9aac2dc6345fb6fe5cefa.zip |
Rename 'class' field to 'uclass' in the ng_hci_inquiry_response structure.
class is a reserved word in C++
Submitted by: Markus Brueffer < markus AT brueffer DOT de >
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=139686
Diffstat (limited to 'usr.sbin/bluetooth')
-rw-r--r-- | usr.sbin/bluetooth/hccontrol/link_control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bluetooth/hccontrol/link_control.c b/usr.sbin/bluetooth/hccontrol/link_control.c index 7d01f045610d..1558cc5adbd3 100644 --- a/usr.sbin/bluetooth/hccontrol/link_control.c +++ b/usr.sbin/bluetooth/hccontrol/link_control.c @@ -157,7 +157,7 @@ hci_inquiry_response(int n, uint8_t **b) fprintf(stdout, "\tPage Scan Mode: %#02x\n", ir->page_scan_mode); fprintf(stdout, "\tClass: %02x:%02x:%02x\n", - ir->class[2], ir->class[1], ir->class[0]); + ir->uclass[2], ir->uclass[1], ir->uclass[0]); fprintf(stdout, "\tClock offset: %#04x\n", le16toh(ir->clock_offset)); |