aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/printf_size.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-04-19 11:22:31 +0000
committerUlrich Drepper <drepper@redhat.com>1997-04-19 11:22:31 +0000
commit29bb8719cfc14ccaadfdf371c036c33da14a2746 (patch)
tree68024b4195b105603d4dba293e317efe08e82751 /stdio-common/printf_size.c
parent307bcd77838a5546a4fa65e7a88258a6ea78898c (diff)
downloadglibc-29bb8719cfc14ccaadfdf371c036c33da14a2746.tar
glibc-29bb8719cfc14ccaadfdf371c036c33da14a2746.tar.gz
glibc-29bb8719cfc14ccaadfdf371c036c33da14a2746.tar.bz2
glibc-29bb8719cfc14ccaadfdf371c036c33da14a2746.zip
Add description of printf_size and printf_size_info.
Diffstat (limited to 'stdio-common/printf_size.c')
-rw-r--r--stdio-common/printf_size.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/printf_size.c b/stdio-common/printf_size.c
index 0184269181..6a870127af 100644
--- a/stdio-common/printf_size.c
+++ b/stdio-common/printf_size.c
@@ -96,8 +96,8 @@ printf_size (FILE *fp, const struct printf_info *info, const void *const *args)
/* Units for the both formats. */
static const char units[2][8] =
{
- " kmgtps", /* For binary format. */
- " KMGTPS" /* For decimal format. */
+ " kmgtpezy", /* For binary format. */
+ " KMGTPEZY" /* For decimal format. */
};
const char *tag = units[isupper (info->spec) != 0];
int divisor = isupper (info->spec) ? 1000 : 1024;