summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-04-10 10:13:14 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-04-10 10:13:14 +0200
commitf428f1dc6cb9e9d3cfcfe3c555d44b6a7686cc88 (patch)
treee8599f1b5d03185515742c40c604dec4671d9427
parent12dc4fbf188673a9048fc98eff371a83e9c367dc (diff)
factor: fix HALF_FMT usage
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--coreutils/factor.c2
1 files changed, 1 insertions, 1 deletions
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: