From f428f1dc6cb9e9d3cfcfe3c555d44b6a7686cc88 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 10 Apr 2017 10:13:14 +0200 Subject: factor: fix HALF_FMT usage Signed-off-by: Denys Vlasenko --- coreutils/factor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils') diff --git a/coreutils/factor.c b/coreutils/factor.c index 4e521dbc0..5c4d124a8 100644 --- a/coreutils/factor.c +++ b/coreutils/factor.c @@ -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: -- cgit v1.2.3