projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12dc4fb
)
factor: fix HALF_FMT usage
author
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 10 Apr 2017 08:13:14 +0000
(10:13 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 10 Apr 2017 08:13:14 +0000
(10:13 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/factor.c
patch
|
blob
|
history
diff --git
a/coreutils/factor.c
b/coreutils/factor.c
index 4e521dbc02cf424727acc7d7e4d4f7ab7ba8d2d9..5c4d124a86424f230d256c99777016f7b6e0d5f9 100644
(file)
--- 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: