[openib-general] [PATCH][osm] commentary typos

Bernhard Fischer rep.nop at aon.at
Sun Jul 3 15:51:04 PDT 2005


Hi Hal,

- commentary typos

Signed-off-by: Bernhard Fischer <rep.nop at aon.at>
-------------- next part --------------
Index: trunk/src/userspace/management/osm/opensm/osm_state_mgr.c
===================================================================
--- trunk/src/userspace/management/osm/opensm/osm_state_mgr.c	(revision 2778)
+++ trunk/src/userspace/management/osm/opensm/osm_state_mgr.c	(working copy)
@@ -518,7 +518,7 @@ __osm_state_mgr_reset_node_count(
   {
     osm_log( p_mgr->p_log, OSM_LOG_DEBUG,
              "__osm_state_mgr_reset_node_count: "
-             "Reseting discovery count for node 0x%" PRIx64 ".\n",
+             "Resetting discovery count for node 0x%" PRIx64 ".\n",
              cl_ntoh64( osm_node_get_node_guid( p_node ) ));
   }
 
@@ -539,7 +539,7 @@ __osm_state_mgr_reset_port_count(
   {
     osm_log( p_mgr->p_log, OSM_LOG_DEBUG,
              "__osm_state_mgr_reset_port_count: "
-             "Reseting discovery count for port 0x%" PRIx64 ".\n",
+             "Resetting discovery count for port 0x%" PRIx64 ".\n",
              cl_ntoh64( osm_port_get_guid( p_port ) ));
   }
 
@@ -560,7 +560,7 @@ __osm_state_mgr_reset_switch_count(
   {
     osm_log( p_mgr->p_log, OSM_LOG_DEBUG,
              "__osm_state_mgr_reset_switch_count: "
-             "Reseting discovery count for switch 0x%" PRIx64 ".\n",
+             "Resetting discovery count for switch 0x%" PRIx64 ".\n",
              cl_ntoh64( osm_node_get_node_guid( p_sw->p_node ) ));
   }
 
Index: trunk/src/userspace/management/osm/opensm/osm_drop_mgr.c
===================================================================
--- trunk/src/userspace/management/osm/opensm/osm_drop_mgr.c	(revision 2778)
+++ trunk/src/userspace/management/osm/opensm/osm_drop_mgr.c	(working copy)
@@ -271,7 +271,7 @@ __osm_drop_mgr_remove_port(
             osm_port_discovery_count_reset( p_remote_port );
             osm_log( p_mgr->p_log, OSM_LOG_DEBUG,
                      "__osm_drop_mgr_remove_port: "
-                     "reseting discovery count of node: "
+                     "resetting discovery count of node: "
                      "0x%016" PRIx64 " port num:%u.\n",
                      cl_ntoh64( osm_node_get_node_guid( p_remote_node ) ),
                      remote_port_num );
Index: trunk/src/userspace/management/osm/include/complib/cl_timer.h
===================================================================
--- trunk/src/userspace/management/osm/include/complib/cl_timer.h	(revision 2778)
+++ trunk/src/userspace/management/osm/include/complib/cl_timer.h	(working copy)
@@ -331,7 +331,7 @@ cl_timer_trim(
 *	remaining time when the timer is set.
 *
 *	If the new interval time is less than the remaining time, cl_timer_trim
-*	implicitly stops the timer before reseting it.
+*	implicitly stops the timer before resetting it.
 *
 *	If the timer is reset, it is guaranteed to expire no sooner than the
 *	new interval, but may take longer to expire.
Index: trunk/src/userspace/management/osm/complib/cl_event.c
===================================================================
--- trunk/src/userspace/management/osm/complib/cl_event.c	(revision 2778)
+++ trunk/src/userspace/management/osm/complib/cl_event.c	(working copy)
@@ -102,7 +102,7 @@ cl_event_signal(
 
 	cl_spinlock_acquire( &p_event->spinlock );
 	p_event->signaled = TRUE;
-	/* Wake up one or all depending on whether the event is auto-reseting. */
+	/* Wake up one or all depending on whether the event is auto-resetting. */
 	if( p_event->manual_reset )
 		pthread_cond_broadcast( &p_event->condvar );
 	else


More information about the general mailing list