=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ypcat/ypcat.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- src/usr.bin/ypcat/ypcat.c 2015/10/10 21:08:09 1.17 +++ src/usr.bin/ypcat/ypcat.c 2015/10/18 17:20:49 1.18 @@ -1,4 +1,4 @@ -/* $OpenBSD: ypcat.c,v 1.17 2015/10/10 21:08:09 deraadt Exp $ */ +/* $OpenBSD: ypcat.c,v 1.18 2015/10/18 17:20:49 miod Exp $ */ /* * Copyright (c) 1992, 1993, 1996 Theo de Raadt @@ -88,7 +88,7 @@ extern int optind; int notrans, c, r, i; - if (pledge("stdio rpath inet", NULL) == -1) + if (pledge("stdio rpath inet flock", NULL) == -1) perror("pledge"); notrans = key = 0;