diff mbox

[MINOR] opensm/osm_helper.c: Add some missing new lines to log message output

Message ID 506CD102.4010403@dev.mellanox.co.il (mailing list archive)
State Rejected
Delegated to: Alex Netes
Headers show

Commit Message

Hal Rosenstock Oct. 3, 2012, 11:57 p.m. UTC
Accidentally removed when _v2 routines added with _to_buf routines

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
---
 opensm/osm_helper.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

Comments

Alex Netes Oct. 25, 2012, 3:36 p.m. UTC | #1
Hi Hal,

On 19:57 Wed 03 Oct     , Hal Rosenstock wrote:
> 
> Accidentally removed when _v2 routines added with _to_buf routines
> 
> Signed-off-by: Hal Rosenstock <hal@mellanox.com>
> ---

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/opensm/osm_helper.c b/opensm/osm_helper.c
index 6803777..9ddf19d 100644
--- a/opensm/osm_helper.c
+++ b/opensm/osm_helper.c
@@ -2814,7 +2814,7 @@  void osm_dump_dr_path(IN osm_log_t * p_log, IN const osm_dr_path_t * p_path,
 
 		osm_dump_dr_path_to_buf(p_path, buf);
 
-		osm_log(p_log, log_level, buf);
+		osm_log(p_log, log_level, "%s\n", buf);
 	}
 }
 
@@ -2826,7 +2826,7 @@  void osm_dump_dr_path_v2(IN osm_log_t * p_log, IN const osm_dr_path_t * p_path,
 
 		osm_dump_dr_path_to_buf(p_path, buf);
 
-		osm_log_v2(p_log, log_level, file_id, buf);
+		osm_log_v2(p_log, log_level, file_id, "%s\n", buf);
 	}
 }
 
@@ -2858,7 +2858,7 @@  void osm_dump_smp_dr_path(IN osm_log_t * p_log, IN const ib_smp_t * p_smp,
 
 		osm_dump_smp_dr_path_to_buf(p_smp, buf);
 
-		osm_log(p_log, log_level, buf);
+		osm_log(p_log, log_level, "%s\n", buf);
 	}
 }
 
@@ -2870,7 +2870,7 @@  void osm_dump_smp_dr_path_v2(IN osm_log_t * p_log, IN const ib_smp_t * p_smp,
 
 		osm_dump_smp_dr_path_to_buf(p_smp, buf);
 
-		osm_log_v2(p_log, log_level, file_id, buf);
+		osm_log_v2(p_log, log_level, file_id, "%s\n", buf);
 	}
 }