[openib-general] [PATCH][TRIVIAL] ibdiagnet: Fix typo

Hal Rosenstock halr at voltaire.com
Mon Oct 9 10:45:52 PDT 2006


ibdiagnet: Fix typo

priority rather than priorty

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: ibdiag/doc/ibdiagnet.pod
===================================================================
--- ibdiag/doc/ibdiagnet.pod	(revision 9748)
+++ ibdiag/doc/ibdiagnet.pod	(working copy)
@@ -39,7 +39,7 @@
 
 =item F<ibdiagnet.sm> - 
 
-List of all the SM (state and priorty) in the fabric
+List of all the SM (state and priority) in the fabric
   
 =item F<ibdiagnet.pm> -
 
Index: ibdiag/src/ibdebug_if.tcl
===================================================================
--- ibdiag/src/ibdebug_if.tcl	(revision 9748)
+++ ibdiag/src/ibdebug_if.tcl	(working copy)
@@ -1393,7 +1393,7 @@
             append msgText "Checking bad guids"
         }
         "-I-ibdiagnet:SM.header" {
-            append msgText "Summary Fabric SM-state-priorty"
+            append msgText "Summary Fabric SM-state-priority"
         }
         "-E-ibdiagnet:no.lst.file" {
             set noExiting 1
@@ -1415,8 +1415,8 @@
         "-I-ibdiagnet:SM.report.body" {
             set msgText "    "
             set nodeName [lindex $args 0]
-            set priorty  [lindex $args 1]
-            append msgText "$nodeName  priorty:$priorty"
+            set priority [lindex $args 1]
+            append msgText "$nodeName  priority:$priority"
         }
         "-I-ibdiagnet:check.credit.loops.header" {
             append msgText "Checking credit loops"
@@ -1771,7 +1771,7 @@
                        switches
     ibdiagnet.masks  - In case of duplicate port/node Guids, these file include
                        the map between masked Guid and real Guids 
-    ibdiagnet.sm     - A dump of all the SM (state and priorty) in the fabric
+    ibdiagnet.sm     - A dump of all the SM (state and priority) in the fabric
     ibdiagnet.pm     - In case -pm option was provided, this file contain a dump
                        of all the nodes PM counters
   In addition to generating the files above, the discovery phase also checks for
Index: ibdiag/src/ibdebug.tcl
===================================================================
--- ibdiag/src/ibdebug.tcl	(revision 9748)
+++ ibdiag/src/ibdebug.tcl	(working copy)
@@ -835,7 +835,7 @@
 #       DUPandZERO(<NodeGuid>,NodeGUID) : <DirectPath>
 #       DUPandZERO(<value>,<ID>)        : <DirectPath>
 #
-#       SM(<SMstate>                    : <DirectPath>,SMpriorty
+#       SM(<SMstate>                    : <DirectPath>,SMpriority
 #       
 #       SECOND_PATH - list of second paths
 #
@@ -2564,7 +2564,7 @@
                 if { $tmpDirectPath == "" } {
                     set nodeName "The Local Device : $nodeName"
                 }
-                set msg "    $nodeName priorty:[lindex $element 1]"
+                set msg "    $nodeName priority:[lindex $element 1]"
                 if {$_fileName == "stdout"} {
                     inform "-I-ibdiagnet:SM.report.body" $nodeName [lindex $element 1]
                 } else {







More information about the general mailing list