diff options
author | natano <natano@cvs.openbsd.org> | 2016-03-14 20:14:31 +0000 |
---|---|---|
committer | natano <natano@cvs.openbsd.org> | 2016-03-14 20:14:31 +0000 |
commit | dd742f27267a72b957f941949c7cd29021f0e1ed (patch) | |
tree | c17f280ade5dc5f2edf3c64a9ffba9979308bfe6 /sbin/newfs_ext2fs/newfs_ext2fs.c | |
parent | 3176c2567eb1c770f0c6c493ff8833b7a05b5695 (diff) |
Add a missing "cpath" promise; newfs_ext2fs can create files when used
with the -F and -s flags.
ok stefan
Diffstat (limited to 'sbin/newfs_ext2fs/newfs_ext2fs.c')
-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; |