mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-14 14:55:41 +00:00
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:
parent
4bfc2007ab
commit
139df251d9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228596
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user