From c07d15973c72e28ced5134c7614ff43e78789ead Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 21 Apr 1996 21:07:13 +0000 Subject: [PATCH] (decode_one_format): Use printf's L modifier for long doubles, not `l'. From Eric Backus. --- src/od.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/od.c b/src/od.c index d8f52b1..2393571 100644 --- a/src/od.c +++ b/src/od.c @@ -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); -- 2.7.4