summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index dcbba42..480d567 100644
--- a/config.c
+++ b/config.c
@@ -229,7 +229,7 @@ int createconfigfile(char *filename) {
"debug = \"1\"\n";
// Write complete string to file
- if ((fprintf(fp, string)) < 0) {
+ if ((fprintf(fp, "%s", string)) < 0) {
printf("error: could not write to replay log file.\n");
exit(1);
}