X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fgen%2Fgen.c;h=6bc3c9696ff54d8b6efd2653834bec68aa0a7007;hb=c58b8e7cb29f954791ffd5bc2d97ddb4d4202d0c;hp=123cfb89699dd83da9b4e73aa2555254c5e91a51;hpb=f9d17902a35b6403b7c8354845e9f13f882c1c8e;p=libc-test diff --git a/src/math/gen/gen.c b/src/math/gen/gen.c index 123cfb8..6bc3c96 100644 --- 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, ", %11lld", t->i); if (k < 0 || k >= n) return -1; n -= k;