=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/printenv/printenv.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/printenv/printenv.c 2015/10/07 06:35:19 1.7 --- src/usr.bin/printenv/printenv.c 2015/10/09 01:37:08 1.8 *************** *** 1,4 **** ! /* $OpenBSD: printenv.c,v 1.7 2015/10/07 06:35:19 deraadt Exp $ */ /* * Copyright (c) 1987 Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: printenv.c,v 1.8 2015/10/09 01:37:08 deraadt Exp $ */ /* * Copyright (c) 1987 Regents of the University of California. *************** *** 48,55 **** char *cp, **ep; int len; ! if (tame("stdio", NULL) == -1) ! err(1, "tame"); if (argc < 2) { for (ep = environ; *ep; ep++) --- 48,55 ---- char *cp, **ep; int len; ! if (pledge("stdio", NULL) == -1) ! err(1, "pledge"); if (argc < 2) { for (ep = environ; *ep; ep++)