summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/factor/factor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/factor/factor.c b/games/factor/factor.c
index d1c69a7..8b76c17 100644
--- a/games/factor/factor.c
+++ b/games/factor/factor.c
@@ -322,7 +322,7 @@ BN_print_dec_fp(FILE *fp, const BIGNUM *num)
buf = BN_bn2dec(num);
if (buf == NULL)
return; /* XXX do anything here? */
- fprintf(fp, buf);
+ fprintf(fp, "%s", buf);
free(buf);
}
OpenPOWER on IntegriCloud