[ofa-general] [PATCH] opensm: remove extra "0x" from debug message.
Ira Weiny
weiny2 at llnl.gov
Tue Jul 28 18:57:49 PDT 2009
From: Ira Weiny <weiny2 at llnl.gov>
Date: Tue, 28 Jul 2009 18:55:10 -0700
Subject: [PATCH] opensm: remove extra "0x" from debug message.
"%p" will print a 0x for you.
Signed-off-by: Ira Weiny <weiny2 at llnl.gov>
---
opensm/opensm/osm_vl15intf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opensm/opensm/osm_vl15intf.c b/opensm/opensm/osm_vl15intf.c
index 8f59f42..43095c9 100644
--- a/opensm/opensm/osm_vl15intf.c
+++ b/opensm/opensm/osm_vl15intf.c
@@ -314,7 +314,7 @@ void osm_vl15_post(IN osm_vl15_t * p_vl, IN osm_madw_t * p_madw)
CL_ASSERT(p_vl->state == OSM_VL15_STATE_READY);
- OSM_LOG(p_vl->p_log, OSM_LOG_DEBUG, "Posting p_madw = 0x%p\n", p_madw);
+ OSM_LOG(p_vl->p_log, OSM_LOG_DEBUG, "Posting p_madw = %p\n", p_madw);
/*
Determine in which fifo to place the pending madw.
--
1.5.4.5
More information about the general
mailing list