summaryrefslogtreecommitdiffstats
path: root/src/H5FDlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDlog.c')
-rw-r--r--src/H5FDlog.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5FDlog.c b/src/H5FDlog.c
index 77464c9..63f6bdd 100644
--- a/src/H5FDlog.c
+++ b/src/H5FDlog.c
@@ -17,6 +17,7 @@
#include <H5private.h> /*library functions */
#include <H5Eprivate.h> /*error handling */
#include <H5Fprivate.h> /*files */
+#include <H5FDprivate.h> /*file driver */
#include <H5FDlog.h> /* logging file driver */
#include <H5FLprivate.h> /*Free Lists */
#include <H5MMprivate.h> /* Memory allocation */
@@ -40,7 +41,7 @@ static hid_t H5FD_LOG_g = 0;
/* Driver-specific file access properties */
typedef struct H5FD_log_fapl_t {
- const char *logfile; /* Allocated log file name */
+ char *logfile; /* Allocated log file name */
intn verbosity; /* Verbosity of logging information */
} H5FD_log_fapl_t;
@@ -257,7 +258,7 @@ H5FD_log_init(void)
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_fapl_log(hid_t fapl_id, const char *logfile, int verbosity)
+H5Pset_fapl_log(hid_t fapl_id, char *logfile, int verbosity)
{
H5FD_log_fapl_t fa; /* File access property list information */
herr_t ret_value=FAIL;