[ofa-general] [PATCH][TRIVIAL] ibsim/sim_mad.c: Fix some typos

Hal Rosenstock hrosenstock at xsigo.com
Tue Jun 24 15:06:15 PDT 2008


ibsim/sim_mad.c: Fix some typos

Signed-off-by: Hal Rosenstock <hal at xsigo.com>

diff --git a/ibsim/sim_mad.c b/ibsim/sim_mad.c
index 6c5add9..f24844f 100644
--- a/ibsim/sim_mad.c
+++ b/ibsim/sim_mad.c
@@ -1128,7 +1128,7 @@ Smpfn *get_handle_fn(ib_rpc_t rpc, int response)
 		return fn;
 	}
 
-	return 0;		// No MGTCLASS matched .
+	return 0;		// No MGTCLASS matched.
 }
 
 int process_packet(Client * cl, void *p, int size, Client ** dcl)
@@ -1287,7 +1287,7 @@ int send_trap(Port * port, int trapnum)
 	Port *destport;
 
 	if (!encode_trapfn) {
-		IBWARN("trap number %d not upported", trapnum);
+		IBWARN("trap number %d not supported", trapnum);
 		return -1;
 	}
 





More information about the general mailing list