=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/jot/jot.c,v retrieving revision 1.25 retrieving revision 1.26 diff -c -r1.25 -r1.26 *** src/usr.bin/jot/jot.c 2015/10/06 22:55:51 1.25 --- src/usr.bin/jot/jot.c 2015/10/09 01:37:07 1.26 *************** *** 1,4 **** ! /* $OpenBSD: jot.c,v 1.25 2015/10/06 22:55:51 deraadt Exp $ */ /* $NetBSD: jot.c,v 1.3 1994/12/02 20:29:43 pk Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: jot.c,v 1.26 2015/10/09 01:37:07 deraadt Exp $ */ /* $NetBSD: jot.c,v 1.3 1994/12/02 20:29:43 pk Exp $ */ /*- *************** *** 84,91 **** int ch; const char *errstr; ! if (tame("stdio", NULL) == -1) ! err(1, "tame"); while ((ch = getopt(argc, argv, "rb:w:cs:np:")) != -1) switch (ch) { --- 84,91 ---- int ch; const char *errstr; ! if (pledge("stdio", NULL) == -1) ! err(1, "pledge"); while ((ch = getopt(argc, argv, "rb:w:cs:np:")) != -1) switch (ch) {