summaryrefslogtreecommitdiffstats
path: root/usr.bin/printf/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/printf/printf.c')
-rw-r--r--usr.bin/printf/printf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/printf/printf.c b/usr.bin/printf/printf.c
index a99958e..58d2cca 100644
--- a/usr.bin/printf/printf.c
+++ b/usr.bin/printf/printf.c
@@ -272,7 +272,10 @@ next: for (start = fmt;; ++fmt) {
PF(f, uval);
break;
}
- case 'e': case 'E': case 'f': case 'g': case 'G': {
+ case 'e': case 'E':
+ case 'f': case 'F':
+ case 'g': case 'G':
+ case 'a': case 'A': {
double p;
if (getdouble(&p))
OpenPOWER on IntegriCloud