[ofa-general] [PATCH] opensm/osm_qos_parser.y: TRIVIAL addition in log message

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Mon Jun 16 06:14:00 PDT 2008


Hi Sasha,

Adding new line in one log (error) message.

Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
 opensm/opensm/osm_qos_parser.y |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opensm/opensm/osm_qos_parser.y b/opensm/opensm/osm_qos_parser.y
index 4d9f572..a8fa16d 100644
--- a/opensm/opensm/osm_qos_parser.y
+++ b/opensm/opensm/osm_qos_parser.y
@@ -2381,7 +2381,7 @@ static void __qos_parser_error(const char *format, ...)
     va_end(pvar);

     OSM_LOG(p_qos_parser_osm_log, OSM_LOG_ERROR, "ERR AC05: "
-            "Syntax error (line %d:%d): %s",
+            "Syntax error (line %d:%d): %s\n",
             line_num, column_num, s);
     fprintf(stderr, "Error in QoS Policy File (line %d:%d): %s.\n",
             line_num, column_num, s);
-- 
1.5.1.4




More information about the general mailing list