diff options
author | Jim Meyering <jim@meyering.net> | 1996-04-21 21:07:13 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-04-21 21:07:13 +0000 |
commit | c07d15973c72e28ced5134c7614ff43e78789ead (patch) | |
tree | 0384573760b0a7f84b820fe1f5621e2474d3b9f3 /src/od.c | |
parent | 5beebbd8da1b2db1d09f2633592e408a027bdb26 (diff) | |
download | coreutils-c07d15973c72e28ced5134c7614ff43e78789ead.tar.xz |
(decode_one_format): Use printf's L modifier for long doubles,
not `l'. From Eric Backus.
Diffstat (limited to 'src/od.c')
-rw-r--r-- | src/od.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -855,7 +855,7 @@ decode_one_format (const char *s, const char **next, struct tspec *tspec) #ifdef HAVE_LONG_DOUBLE case FLOAT_LONG_DOUBLE: print_function = print_long_double; - pre_fmt_string = "%%%d.%dle%%c"; + pre_fmt_string = "%%%d.%dLe%%c"; fmt_string = xmalloc (strlen (pre_fmt_string)); sprintf (fmt_string, pre_fmt_string, LDBL_DIG + 8, LDBL_DIG); |