Hi Hal

osm_base.h uses cache dir for osm-partitions.conf.

Thanks

Eitan

Signed-off-by:  Eitan Zahavi <[EMAIL PROTECTED]>

Index: include/opensm/osm_base.h
===================================================================
--- include/opensm/osm_base.h   (revision 9502)
+++ include/opensm/osm_base.h   (working copy)
@@ -231,7 +231,7 @@ BEGIN_C_DECLS
 * SYNOPSIS
 */
 #ifdef __WIN__
-#define OSM_DEFAULT_PARTITION_CONFIG_FILE strcat(GetOsmPath(), 
"osm-partitions.conf")
+#define OSM_DEFAULT_PARTITION_CONFIG_FILE strcat(GetOsmCachePath(), 
"osm-partitions.conf")
 #else
 #define OSM_DEFAULT_PARTITION_CONFIG_FILE "/etc/osm-partitions.conf"
 #endif



_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to