2020-08-30 07:15:04

by Barry Byford

[permalink] [raw]
Subject: [PATCH BlueZ 0/1] Fix small typo in bluetoothctl

Changing apperance to be appearance

Barry Byford (1):
Fix typo in bluetoothctl

client/advertising.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--
2.25.1


2020-08-30 07:15:04

by Barry Byford

[permalink] [raw]
Subject: [PATCH BlueZ 1/1] Fix typo in bluetoothctl

---
client/advertising.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/advertising.c b/client/advertising.c
index 94eb616b2..1aa28e749 100644
--- a/client/advertising.c
+++ b/client/advertising.c
@@ -185,7 +185,7 @@ static void print_ad(void)
bt_appear_to_str(ad.local_appearance),
ad.local_appearance);
else
- bt_shell_printf("Apperance: %s\n",
+ bt_shell_printf("Appearance: %s\n",
ad.appearance ? "on" : "off");

bt_shell_printf("Discoverable: %s\n", ad.discoverable ? "on": "off");
@@ -886,7 +886,7 @@ void ad_advertise_local_appearance(DBusConnection *conn, long int *value)
bt_appear_to_str(ad.local_appearance),
ad.local_appearance);
else
- bt_shell_printf("Apperance: %s\n",
+ bt_shell_printf("Appearance: %s\n",
ad.appearance ? "on" : "off");

return bt_shell_noninteractive_quit(EXIT_SUCCESS);
--
2.25.1

2020-08-31 17:39:26

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: [PATCH BlueZ 1/1] Fix typo in bluetoothctl

Hi Barry,

On Sun, Aug 30, 2020 at 12:17 AM Barry Byford <[email protected]> wrote:
>
> ---
> client/advertising.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/client/advertising.c b/client/advertising.c
> index 94eb616b2..1aa28e749 100644
> --- a/client/advertising.c
> +++ b/client/advertising.c
> @@ -185,7 +185,7 @@ static void print_ad(void)
> bt_appear_to_str(ad.local_appearance),
> ad.local_appearance);
> else
> - bt_shell_printf("Apperance: %s\n",
> + bt_shell_printf("Appearance: %s\n",
> ad.appearance ? "on" : "off");
>
> bt_shell_printf("Discoverable: %s\n", ad.discoverable ? "on": "off");
> @@ -886,7 +886,7 @@ void ad_advertise_local_appearance(DBusConnection *conn, long int *value)
> bt_appear_to_str(ad.local_appearance),
> ad.local_appearance);
> else
> - bt_shell_printf("Apperance: %s\n",
> + bt_shell_printf("Appearance: %s\n",
> ad.appearance ? "on" : "off");
>
> return bt_shell_noninteractive_quit(EXIT_SUCCESS);
> --
> 2.25.1

Applied, thanks.

--
Luiz Augusto von Dentz