diff options
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |