In games/factor/factor.c, fix a warning about a format string not being

a literal.

MFC after:	1 week
This commit is contained in:
Dimitry Andric 2011-12-16 21:24:11 +00:00
parent 4bfc2007ab
commit 139df251d9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228596

View File

@ -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);
}