[openib-general] [PATCH 1/13] osm: port to WinIB stack : include/opensm/osm_base.h
Eitan Zahavi
eitan at mellanox.co.il
Sun Sep 17 08:57:50 PDT 2006
Hi Hal
osm_base.h uses cache dir for osm-partitions.conf.
Thanks
Eitan
Signed-off-by: Eitan Zahavi <eitan at mellanox.co.il>
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
More information about the general
mailing list