Remove trailing '/' character in OSM_DEFAULT_CACHE_DIR definition as well as misleading comment about its mandatory status.
Signed-off-by: Sasha Khapyorsky <[email protected]> --- opensm/include/opensm/osm_base.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/opensm/include/opensm/osm_base.h b/opensm/include/opensm/osm_base.h index 9d8bf98..4e9aaa9 100644 --- a/opensm/include/opensm/osm_base.h +++ b/opensm/include/opensm/osm_base.h @@ -192,14 +192,13 @@ BEGIN_C_DECLS * * DESCRIPTION * Specifies the default cache directory for the db files. -* Note that the directory must appear with "/" ("\\" for windows) at the end. * * SYNOPSIS */ #ifdef __WIN__ #define OSM_DEFAULT_CACHE_DIR GetOsmCachePath() #else -#define OSM_DEFAULT_CACHE_DIR "/var/cache/opensm/" +#define OSM_DEFAULT_CACHE_DIR "/var/cache/opensm" #endif /***********/ /****d* OpenSM: Base/OSM_DEFAULT_LOG_FILE -- 1.6.5.3 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
