=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sed/main.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- src/usr.bin/sed/main.c 2016/03/17 05:27:10 1.32 +++ src/usr.bin/sed/main.c 2016/07/14 08:31:18 1.33 @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.32 2016/03/17 05:27:10 bentley Exp $ */ +/* $OpenBSD: main.c,v 1.33 2016/07/14 08:31:18 semarie Exp $ */ /*- * Copyright (c) 1992 Diomidis Spinellis. @@ -160,7 +160,7 @@ termwidth = 80; if (inplace != NULL) { - if (pledge("stdio rpath wpath cpath fattr", NULL) == -1) + if (pledge("stdio rpath wpath cpath fattr chown", NULL) == -1) error(FATAL, "pledge: %s", strerror(errno)); } else { if (pledge("stdio rpath wpath cpath", NULL) == -1)