=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/htpasswd/htpasswd.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- src/usr.bin/htpasswd/htpasswd.c 2015/10/09 01:37:07 1.13 +++ src/usr.bin/htpasswd/htpasswd.c 2015/10/16 13:37:44 1.14 @@ -1,4 +1,4 @@ -/* $OpenBSD: htpasswd.c,v 1.13 2015/10/09 01:37:07 deraadt Exp $ */ +/* $OpenBSD: htpasswd.c,v 1.14 2015/10/16 13:37:44 millert Exp $ */ /* * Copyright (c) 2014 Florian Obser * @@ -57,7 +57,7 @@ ssize_t linelen; mode_t old_umask; - if (pledge("stdio rpath wpath cpath tmppath tty", NULL) == -1) + if (pledge("stdio rpath wpath cpath flock tmppath tty", NULL) == -1) err(1, "pledge"); while ((c = getopt(argc, argv, "I")) != -1) {