svn commit: r229144 - stable/9/games/factor
Dimitry Andric
dim at FreeBSD.org
Sat Dec 31 19:50:52 UTC 2011
Author: dim
Date: Sat Dec 31 19:50:52 2011
New Revision: 229144
URL: http://svn.freebsd.org/changeset/base/229144
Log:
MFC r228596:
In games/factor/factor.c, fix a warning about a format string not being
a literal.
Modified:
stable/9/games/factor/factor.c
Directory Properties:
stable/9/games/factor/ (props changed)
Modified: stable/9/games/factor/factor.c
==============================================================================
--- stable/9/games/factor/factor.c Sat Dec 31 19:48:04 2011 (r229143)
+++ stable/9/games/factor/factor.c Sat Dec 31 19:50:52 2011 (r229144)
@@ -322,7 +322,7 @@ BN_print_dec_fp(FILE *fp, const BIGNUM *
buf = BN_bn2dec(num);
if (buf == NULL)
return; /* XXX do anything here? */
- fprintf(fp, buf);
+ fprintf(fp, "%s", buf);
free(buf);
}
More information about the svn-src-stable-9
mailing list