summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2018-01-13 15:09:50 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2018-01-13 15:09:50 +0000
commit176b787ad357a4db3968d5e4cd9ddb61933fa407 (patch)
tree9884370ad8d62b90d9072beac0955ea1c7f9eaf0
parent4aeff0ac1f3d76390a3464b60eadc326b65268ca (diff)
Allow printf '%F' format specifier.
ok millert
-rw-r--r--usr.bin/jot/jot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/jot/jot.c b/usr.bin/jot/jot.c
index 14070bca1d5..d7584abf327 100644
--- a/usr.bin/jot/jot.c
+++ b/usr.bin/jot/jot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: jot.c,v 1.43 2018/01/12 06:22:31 tb Exp $ */
+/* $OpenBSD: jot.c,v 1.44 2018/01/13 15:09:49 tb Exp $ */
/* $NetBSD: jot.c,v 1.3 1994/12/02 20:29:43 pk Exp $ */
/*-
@@ -427,6 +427,7 @@ getformat(void)
case 'e':
case 'E':
case 'f':
+ case 'F':
case 'g':
case 'G':
if (longdata)