[ofa-general] [PATCH][TRIVIAL] OpenSM: More changes from osm.log to opensm.log

Hal Rosenstock hal.rosenstock at gmail.com
Thu Jul 26 10:53:07 PDT 2007


OpenSM: More changes from osm.log to opensm.log

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

diff --git a/opensm/opensm/main.c b/opensm/opensm/main.c
index 8038dd3..f3429ff 100644
--- a/opensm/opensm/main.c
+++ b/opensm/opensm/main.c
@@ -253,7 +253,7 @@ show_usage(void)
  printf( "-f\n"
          "--log_file\n"
          "          This option defines the log to be the given file.\n"
-          "          By default, the log goes to /var/log/osm.log.\n"
+          "          By default, the log goes to /var/log/opensm.log.\n"
          "          For the log to go to standard output use -f stdout.\n\n");
  printf( "-L <size in MB>\n"
          "--log_limit <size in MB>\n"
diff --git a/opensm/opensm/osm_console.c b/opensm/opensm/osm_console.c
index 082a00f..766779d 100644
--- a/opensm/opensm/osm_console.c
+++ b/opensm/opensm/osm_console.c
@@ -136,7 +136,7 @@ static void help_status(FILE *out, int detail)

 static void help_logflush(FILE *out, int detail)
 {
-       fprintf(out, "logflush -- flush the osm.log file\n");
+       fprintf(out, "logflush -- flush the opensm.log file\n");
 }

 static void help_querylid(FILE *out, int detail)
diff --git a/opensm/opensm/osm_node_info_rcv.c
b/opensm/opensm/osm_node_info_rcv.c
index 1641999..d1b8204 100644
--- a/opensm/opensm/osm_node_info_rcv.c
+++ b/opensm/opensm/osm_node_info_rcv.c
@@ -225,7 +225,7 @@ __osm_ni_rcv_set_links(
            osm_log( p_rcv->p_log, OSM_LOG_SYS,
                     "Errors on subnet. Duplicate GUID found "
                     "by link from a port to itself. "
-                     "See osm log for more details\n");
+                     "See opensm.log for more details\n");

            if ( p_rcv->p_subn->opt.exit_on_fatal == TRUE )
              exit( 1 );



More information about the general mailing list