diff options
author | 2016-03-14 20:14:30 +0000 | |
---|---|---|
committer | 2016-03-14 20:14:30 +0000 | |
commit | 25ae8cb0e7c6540f060d223c4947a0f90f96ed48 (patch) | |
tree | 5413fc2914a49dc7a8c6e95c0c7bc6a91d9d49e7 | |
parent | Convert sparc drivers bpp and magma to uiomove (diff) | |
download | wireguard-openbsd-25ae8cb0e7c6540f060d223c4947a0f90f96ed48.tar.xz wireguard-openbsd-25ae8cb0e7c6540f060d223c4947a0f90f96ed48.zip |
Add a missing "cpath" promise; newfs_ext2fs can create files when used
with the -F and -s flags.
ok stefan
-rw-r--r-- | sbin/newfs_ext2fs/newfs_ext2fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/newfs_ext2fs/newfs_ext2fs.c b/sbin/newfs_ext2fs/newfs_ext2fs.c index e217c386f43..9277031c5c3 100644 --- a/sbin/newfs_ext2fs/newfs_ext2fs.c +++ b/sbin/newfs_ext2fs/newfs_ext2fs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: newfs_ext2fs.c,v 1.22 2015/12/06 11:56:47 tobias Exp $ */ +/* $OpenBSD: newfs_ext2fs.c,v 1.23 2016/03/14 20:14:30 natano Exp $ */ /* $NetBSD: newfs_ext2fs.c,v 1.8 2009/03/02 10:38:13 tsutsui Exp $ */ /* @@ -130,7 +130,7 @@ main(int argc, char *argv[]) else max_cols = 80; - if (pledge("stdio rpath wpath disklabel", NULL) == -1) + if (pledge("stdio rpath wpath cpath disklabel", NULL) == -1) err(1, "pledge"); cp = NULL; |