BTAVRCP: fix misspelling (found by Lintian)
authorAlexis La Goutte <alexis.lagoutte@gmail.com>
Tue, 5 Jan 2016 12:41:08 +0000 (13:41 +0100)
committerMichael Mann <mmann78@netscape.net>
Wed, 6 Jan 2016 01:05:45 +0000 (01:05 +0000)
Extention -> Extension

Change-Id: I1624721b2e7725ec6129b3ad06327e25c0a6291d
Reviewed-on: https://code.wireshark.org/review/13053
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Tested-by: Michal Labedzki <michal.labedzki@tieto.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
epan/dissectors/packet-btavrcp.c

index 5a80d69314b0010dace1e86d4e07b028fb24863f..dc6b45a73acb962b6f05e000494411a778386fdc 100644 (file)
@@ -58,7 +58,7 @@ static int hf_btavrcp_unit_unknown                                         = -1;
 static int hf_btavrcp_unit_type                                            = -1;
 static int hf_btavrcp_unit_id                                              = -1;
 static int hf_btavrcp_subunit_page                                         = -1;
-static int hf_btavrcp_subunit_extention_code                               = -1;
+static int hf_btavrcp_subunit_extension_code                               = -1;
 static int hf_btavrcp_item                                                 = -1;
 static int hf_btavrcp_folder                                               = -1;
 static int hf_btavrcp_player_id                                            = -1;
@@ -985,7 +985,7 @@ static gint
 dissect_subunit(tvbuff_t *tvb, proto_tree *tree, gint offset, gboolean is_command)
 {
     proto_tree_add_item(tree, hf_btavrcp_subunit_page, tvb, offset, 1, ENC_BIG_ENDIAN);
-    proto_tree_add_item(tree, hf_btavrcp_subunit_extention_code, tvb, offset, 1, ENC_BIG_ENDIAN);
+    proto_tree_add_item(tree, hf_btavrcp_subunit_extension_code, tvb, offset, 1, ENC_BIG_ENDIAN);
     offset += 1;
 
     if (!is_command) {
@@ -2386,8 +2386,8 @@ proto_register_btavrcp(void)
             FT_UINT8, BASE_HEX, VALS(subunit_type_vals), 0xF8,
             NULL, HFILL }
         },
-        { &hf_btavrcp_subunit_extention_code,
-            { "Extention Code",                  "btavrcp.subunit.extention_code",
+        { &hf_btavrcp_subunit_extension_code,
+            { "Extension Code",                  "btavrcp.subunit.extension_code",
             FT_UINT8, BASE_HEX, NULL, 0x07,
             NULL, HFILL }
         },