factor: fix HALF_FMT usage

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2017-04-10 10:13:14 +02:00
parent 12dc4fbf18
commit f428f1dc6c

View File

@ -118,7 +118,7 @@ static NOINLINE void factorize(wide_t N)
*/
while ((N % factor) == 0) { /* not likely */
N = N / factor;
printf(" %u"HALF_FMT, factor);
printf(" %"HALF_FMT"u", factor);
max_factor = isqrt_odd(N);
}
next_factor: