[ofa-general] [PATCH] opensm/opensm/osm_event_plugin.c: clean up version check error message a bit

Ira Weiny weiny2 at llnl.gov
Thu Nov 29 19:36:06 PST 2007


>From 5d7d913e43dacc6cd41a5cdb3092ccd3c1896d5f Mon Sep 17 00:00:00 2001
From: Ira K. Weiny <weiny2 at llnl.gov>
Date: Tue, 27 Nov 2007 19:12:27 -0800
Subject: [PATCH] opensm/opensm/osm_event_plugin.c: clean up version check error message a bit


Signed-off-by: Ira K. Weiny <weiny2 at llnl.gov>
---
 opensm/opensm/osm_event_plugin.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/opensm/opensm/osm_event_plugin.c b/opensm/opensm/osm_event_plugin.c
index 6002a15..09d2121 100644
--- a/opensm/opensm/osm_event_plugin.c
+++ b/opensm/opensm/osm_event_plugin.c
@@ -97,7 +97,9 @@ osm_epi_plugin_t *osm_epi_construct(osm_log_t * p_log, char *plugin_name)
 	/* Check the version to make sure this module will work with us */
 	if (rc->impl->interface_version != OSM_EVENT_PLUGIN_INTERFACE_VER) {
 		osm_log(p_log, OSM_LOG_ERROR,
+			"Error opening %s: "
 			"%s symbol is the wrong version %d != %d\n",
+			plugin_name,
 			OSM_EVENT_PLUGIN_IMPL_NAME,
 			rc->impl->interface_version,
 			OSM_EVENT_PLUGIN_INTERFACE_VER);
-- 
1.5.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-opensm-opensm-osm_event_plugin.c-clean-up-version-c.patch
Type: application/octet-stream
Size: 1045 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20071129/d0a24d0c/attachment.obj>


More information about the general mailing list