If "%%" appears in the format string, skip it properly.
authortb <tb@openbsd.org>
Fri, 5 Aug 2016 13:33:21 +0000 (13:33 +0000)
committertb <tb@openbsd.org>
Fri, 5 Aug 2016 13:33:21 +0000 (13:33 +0000)
commitac2d47dbb48a029808eccbc0f36a4e97bb79c064
tree7f363c1070de442de636cd94b4b642967896ad43
parentdf7cbe9dd7aecd77f9abb71672dc084b8c6f22e0
If "%%" appears in the format string, skip it properly.

Part of pjanzen's fixes in r1.8, but was lost in r1.17.
Fixes regression tests wp3, wp4, wp5.

'good direction' deraadt
usr.bin/jot/jot.c