Use default partition file instead of a hard-coded string
Signed-off-by: Yevgeny Kliteynik <[EMAIL PROTECTED]>
---
opensm/opensm/osm_prtn.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opensm/opensm/osm_prtn.c b/opensm/opensm/osm_prtn.c
index 8b20459..ec42da1 100644
--- a/opensm/opensm/osm_prtn.c
+++ b/opensm/opensm/osm_prtn.c
@@ -355,7 +355,7 @@ ib_api_status_t osm_prtn_make_partitions(osm_log_t * const
p_log,
osm_prtn_t *p;
file_name = p_subn->opt.partition_config_file ?
- p_subn->opt.partition_config_file : "/etc/osm-partitions.conf";
+ p_subn->opt.partition_config_file :
OSM_DEFAULT_PARTITION_CONFIG_FILE;
if (stat(file_name, &statbuf))
is_config = FALSE;
--
1.5.1.4
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general