diff mbox series

[BlueZ,1/1] Fix typo in bluetoothctl

Message ID 20200830071108.19777-2-31baz66@gmail.com (mailing list archive)
State Accepted
Delegated to: Luiz Von Dentz
Headers show
Series Fix small typo in bluetoothctl | expand

Commit Message

Barry Byford Aug. 30, 2020, 7:11 a.m. UTC
---
 client/advertising.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Luiz Augusto von Dentz Aug. 31, 2020, 5:37 p.m. UTC | #1
Hi Barry,

On Sun, Aug 30, 2020 at 12:17 AM Barry Byford <31baz66@gmail.com> 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.
diff mbox series

Patch

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);