projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
math/gen: fix ilogb, logb and modf in mp, change integer print fmt
[libc-test]
/
src
/
math
/
gen
/
gen.c
diff --git
a/src/math/gen/gen.c
b/src/math/gen/gen.c
index
123cfb8
..
6bc3c96
100644
(file)
--- a/
src/math/gen/gen.c
+++ b/
src/math/gen/gen.c
@@
-290,7
+290,7
@@
static int print(const char *fmt, struct t *t, char *buf, int n)
continue;
}
if (*fmt == 'i') {
- k = snprintf(buf, n, ", %lld", t->i);
+ k = snprintf(buf, n, ", %
11
lld", t->i);
if (k < 0 || k >= n)
return -1;
n -= k;