=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/jot/jot.c,v retrieving revision 1.37 retrieving revision 1.38 diff -c -r1.37 -r1.38 *** src/usr.bin/jot/jot.c 2017/12/15 12:17:49 1.37 --- src/usr.bin/jot/jot.c 2017/12/15 13:04:11 1.38 *************** *** 1,4 **** ! /* $OpenBSD: jot.c,v 1.37 2017/12/15 12:17:49 tb Exp $ */ /* $NetBSD: jot.c,v 1.3 1994/12/02 20:29:43 pk Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: jot.c,v 1.38 2017/12/15 13:04:11 tb Exp $ */ /* $NetBSD: jot.c,v 1.3 1994/12/02 20:29:43 pk Exp $ */ /*- *************** *** 426,431 **** --- 426,432 ---- intdata = true; break; } + goto fmt_broken; case 'O': case 'U': /* %lO and %lU are undefined */ if (!longdata) { *************** *** 433,443 **** --- 434,446 ---- intdata = nosign = true; break; } + goto fmt_broken; case 'c': if (!(intdata | longdata)) { chardata = true; break; } + /* FALLTHROUGH */ case 'h': case 'n': case 'p': case 'q': case 's': case 'L': case '$': case '*': goto fmt_broken;