=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ypcat/ypcat.c,v retrieving revision 1.18 retrieving revision 1.19 diff -c -r1.18 -r1.19 *** src/usr.bin/ypcat/ypcat.c 2015/10/18 17:20:49 1.18 --- src/usr.bin/ypcat/ypcat.c 2015/10/18 17:53:51 1.19 *************** *** 1,4 **** ! /* $OpenBSD: ypcat.c,v 1.18 2015/10/18 17:20:49 miod Exp $ */ /* * Copyright (c) 1992, 1993, 1996 Theo de Raadt --- 1,4 ---- ! /* $OpenBSD: ypcat.c,v 1.19 2015/10/18 17:53:51 miod Exp $ */ /* * Copyright (c) 1992, 1993, 1996 Theo de Raadt *************** *** 88,94 **** extern int optind; int notrans, c, r, i; ! if (pledge("stdio rpath inet flock", NULL) == -1) perror("pledge"); notrans = key = 0; --- 88,94 ---- extern int optind; int notrans, c, r, i; ! if (pledge("stdio rpath inet getpw", NULL) == -1) perror("pledge"); notrans = key = 0;