diff options
Diffstat (limited to 'replay.c')
-rw-r--r-- | replay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -273,7 +273,7 @@ int writereplayline(char *str, char *basedir) { debugprint("Complete replay log string to write: '%s', length '%ld'.\n", line, strlen(line)); // Write complete line to file - if ((bytes = fprintf(fp, line)) < 0) { + if ((bytes = fprintf(fp, "%s", line)) < 0) { printf("error: could not write to replay log file.\n"); exit(1); } |