Use defined macro for tmp file path.
signed-off-by: stan smith <[email protected]>
diff --git a/opensm/opensm/osm_db_files.c b/opensm/opensm/osm_db_files.c
index dd9f772..5771e6e 100644
--- a/opensm/opensm/osm_db_files.c
+++ b/opensm/opensm/osm_db_files.c
@@ -615,7 +615,7 @@ int main(int argc, char **argv)
cl_list_construct(&keys);
cl_list_init(&keys, 10);
- osm_log_init_v2(&log, TRUE, 0xff, "/var/log/osm_db_test.log", 0, FALSE);
+ osm_log_init_v2(&log, TRUE, 0xff, OSM_DEFAULT_TMP_DIR
"osm_db_test.log", 0, FALSE);
osm_db_construct(&db);
if (osm_db_init(&db, &log)) {
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw