Skip to contentSkip to conversation

Fix small typo in bluetoothctl

PATCH Applied Barry Byford 2 participants 3 messages Aug 30, 2020 – Aug 31, 2020 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

cover 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(-)
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 Fix typo in bluetoothctl

---
 client/advertising.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
client/advertising.c +2 -2
index 94eb616b2..1aa28e749 100644
@@ -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);
Signature · 1 line
2.25.1
maintainer Applied
#2 lore raw

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

Hi Barry,

Quoted 28 lines · Barry Byford
---
 client/advertising.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
client/advertising.c +2 -3
index 94eb616b2..1aa28e749 100644
@@ -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);
--
Quoted 1 line

2.25.1

Applied, thanks.

Signature · 1 line
Luiz Augusto von Dentz