summaryrefslogtreecommitdiff
path: root/copt
diff options
context:
space:
mode:
Diffstat (limited to 'copt')
-rw-r--r--copt/copt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/copt/copt.c b/copt/copt.c
index 9392380..fe49ad5 100644
--- a/copt/copt.c
+++ b/copt/copt.c
@@ -803,7 +803,7 @@ static void writeoutf(char *filename, char *headstr)
exit(1);
}
if (headstr != NULL) {
- fprintf(fp, headstr);
+ fprintf(fp, "%s", headstr);
fprintf(fp, "\n");
}
for (lp = infile; lp != NULL; lp = lp->next)