git: 66ebda7a04f9 - main - bluetooth: Fix typos
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Jun 2023 02:33:44 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=66ebda7a04f9c401327fbb2b344d430377963659 commit 66ebda7a04f9c401327fbb2b344d430377963659 Author: Elyes Haouas <ehaouas@noos.fr> AuthorDate: 2023-06-01 23:41:31 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-06-02 02:33:38 +0000 bluetooth: Fix typos Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/653 --- usr.sbin/bluetooth/bthidcontrol/sdp.c | 2 +- usr.sbin/bluetooth/hccontrol/link_policy.c | 2 +- usr.sbin/bluetooth/hccontrol/util.c | 4 ++-- usr.sbin/bluetooth/l2control/l2control.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.sbin/bluetooth/bthidcontrol/sdp.c b/usr.sbin/bluetooth/bthidcontrol/sdp.c index e302a8a90448..38b3dbc24a9d 100644 --- a/usr.sbin/bluetooth/bthidcontrol/sdp.c +++ b/usr.sbin/bluetooth/bthidcontrol/sdp.c @@ -52,7 +52,7 @@ static int32_t hid_sdp_parse_hid_descriptor (sdp_attr_p a); static int32_t hid_sdp_parse_boolean (sdp_attr_p a); /* - * Hard coded attibute IDs taken from the + * Hard coded attribute IDs taken from the * DEVICE IDENTIFICATION PROFILE SPECIFICATION V13 p.12 */ diff --git a/usr.sbin/bluetooth/hccontrol/link_policy.c b/usr.sbin/bluetooth/hccontrol/link_policy.c index 5ce296ef81a8..b8a809d14a9f 100644 --- a/usr.sbin/bluetooth/hccontrol/link_policy.c +++ b/usr.sbin/bluetooth/hccontrol/link_policy.c @@ -82,7 +82,7 @@ hci_role_discovery(int s, int argc, char **argv) return (OK); } /* hci_role_discovery */ -/* Send Swith Role to the unit */ +/* Send Switch Role to the unit */ static int hci_switch_role(int s, int argc, char **argv) { diff --git a/usr.sbin/bluetooth/hccontrol/util.c b/usr.sbin/bluetooth/hccontrol/util.c index decb95a1b655..fd2f509bc387 100644 --- a/usr.sbin/bluetooth/hccontrol/util.c +++ b/usr.sbin/bluetooth/hccontrol/util.c @@ -616,7 +616,7 @@ hci_manufacturer2str(int m) /* 0419 */ "EROAD", /* 0420 */ "Mine Safety Appliances", /* 0421 */ "Icon Health and Fitness", - /* 0422 */ "Wille Engineering (formely as Asandoo GmbH)", + /* 0422 */ "Wille Engineering (formerly as Asandoo GmbH)", /* 0423 */ "ENERGOUS CORPORATION", /* 0424 */ "Taobao", /* 0425 */ "Canon Inc.", @@ -1591,7 +1591,7 @@ hci_manufacturer2str(int m) /* 1394 */ "AntTail.com", /* 1395 */ "Lighting Science Group Corp.", /* 1396 */ "AFFORDABLE ELECTRONICS INC", - /* 1397 */ "Integral Memroy Plc", + /* 1397 */ "Integral Memory Plc", /* 1398 */ "Globalstar, Inc.", /* 1399 */ "True Wearables, Inc.", /* 1400 */ "Wellington Drive Technologies Ltd", diff --git a/usr.sbin/bluetooth/l2control/l2control.c b/usr.sbin/bluetooth/l2control/l2control.c index b184d9e72293..54429a368aab 100644 --- a/usr.sbin/bluetooth/l2control/l2control.c +++ b/usr.sbin/bluetooth/l2control/l2control.c @@ -147,7 +147,7 @@ do_l2cap_command(bdaddr_p bdaddr, int argc, char **argv) e = 0x0ffff; if (setsockopt(s, SOL_SOCKET, SO_RCVBUF, &e, sizeof(e)) < 0) - err(3, "Coult not setsockopt(RCVBUF, %d)", e); + err(3, "Could not setsockopt(RCVBUF, %d)", e); e = (c->handler)(s, -- argc, ++ argv);