]> git.proxmox.com Git - mirror_ovs.git/commitdiff
utilities: gdb debug commands fix typos
authorAndreas Karis <akaris@redhat.com>
Tue, 1 Jan 2019 14:34:09 +0000 (09:34 -0500)
committerBen Pfaff <blp@ovn.org>
Thu, 10 Jan 2019 19:00:48 +0000 (11:00 -0800)
Fix minor typos in ovs_gdb debug script.

Acked-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Andreas Karis <akaris@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
utilities/gdb/ovs_gdb.py

index e8fb44c198b13ac72c64e27f7d8cceb7b0bdf43b..d8277dbcfc7af55f6d23a2c8972586595665c3fa 100644 (file)
@@ -133,7 +133,7 @@ def get_global_variable(name):
     var = gdb.lookup_symbol(name)[0]
     if var is None or not var.is_variable:
         print("Can't find {} global variable, are you sure "
-              "your debugging OVS?".format(name))
+              "you are debugging OVS?".format(name))
         return None
     return gdb.parse_and_eval(name)
 
@@ -487,7 +487,7 @@ class CmdDumpBridgePorts(gdb.Command):
     def display_single_port(port, indent=0):
         indent = " " * indent
         port = port.cast(gdb.lookup_type('struct port').pointer())
-        print("{}(struct port *) {}: name = {}, brige = (struct bridge *) {}".
+        print("{}(struct port *) {}: name = {}, bridge = (struct bridge *) {}".
               format(indent, port, port['name'].string(),
                      port['bridge']))