aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d1c69a7e6b14..8b76c175e2a8 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);
}