=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/pr/pr.c,v retrieving revision 1.37 retrieving revision 1.38 diff -c -r1.37 -r1.38 *** src/usr.bin/pr/pr.c 2015/10/07 06:15:51 1.37 --- src/usr.bin/pr/pr.c 2015/10/09 01:37:08 1.38 *************** *** 1,4 **** ! /* $OpenBSD: pr.c,v 1.37 2015/10/07 06:15:51 deraadt Exp $ */ /*- * Copyright (c) 1991 Keith Muller. --- 1,4 ---- ! /* $OpenBSD: pr.c,v 1.38 2015/10/09 01:37:08 deraadt Exp $ */ /*- * Copyright (c) 1991 Keith Muller. *************** *** 140,147 **** { int ret_val; ! if (tame("stdio rpath", NULL) == -1) ! perror("tame"); if (signal(SIGINT, SIG_IGN) != SIG_IGN) (void)signal(SIGINT, terminate); --- 140,147 ---- { int ret_val; ! if (pledge("stdio rpath", NULL) == -1) ! perror("pledge"); if (signal(SIGINT, SIG_IGN) != SIG_IGN) (void)signal(SIGINT, terminate);