* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/sysdep.h"
-#include "xbt/log.h"
+#include "xbt/log_private.h"
#include <stdio.h>
/**
static void append_file(xbt_log_appender_t this_appender,
- char *str) {
+ char *str) {
- fprintf((FILE*)(this_appender->data), str);
+ fprintf((FILE*)(this_appender->data), "%s", str);
}
xbt_log_appender_t xbt_log_appender_file_new(char *arg){