[openib-general] [PATCH] OpenSM/osm_base.h: Change OSM_DEFAULT_TMP_DIR to /var/log for Linux

Hal Rosenstock halr at voltaire.com
Wed Sep 6 08:09:06 PDT 2006


OpenSM/osm_base.h: Change OSM_DEFAULT_TMP_DIR to /var/log for Linux

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: include/opensm/osm_base.h
===================================================================
--- include/opensm/osm_base.h	(revision 9158)
+++ include/opensm/osm_base.h	(working copy)
@@ -177,15 +177,14 @@ BEGIN_C_DECLS
 *
 * DESCRIPTION
 *	Specifies the default temporary directory for the log file, subnet.lst
-*  and the other log files (with the exception of osm.log for Linux being 
-*  in /var/log).
+*  and the other log files.
 *
 * SYNOPSIS
 */
 #ifdef __WIN__
 #define OSM_DEFAULT_TMP_DIR GetOsmTempPath()
 #else
-#define OSM_DEFAULT_TMP_DIR "/tmp/"
+#define OSM_DEFAULT_TMP_DIR "/var/log/"
 #endif
 /***********/
 







More information about the general mailing list