diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-14 15:54:50 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-14 15:54:50 +0000 |
commit | 036a140a5ded61e08a429a3a9e5998f241de1ceb (patch) | |
tree | c60766acd3d679e2d717f2d8751eed8852f3e83e /sbin/newfs_ext2fs/newfs_ext2fs.c | |
parent | a89bb46dc788daab4c35827fb24fd1e7d36f50e7 (diff) |
unfortunately rewritelabel() just before termination does a non-permitted
ioctl to rewrite the label, in support of the old-school "frag info in
the disklabel" concept. disklabel folk, please come talk to me...
Diffstat (limited to 'sbin/newfs_ext2fs/newfs_ext2fs.c')
-rw-r--r-- | sbin/newfs_ext2fs/newfs_ext2fs.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sbin/newfs_ext2fs/newfs_ext2fs.c b/sbin/newfs_ext2fs/newfs_ext2fs.c index 9060472e74c..0cb76195c45 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.16 2015/10/13 15:15:30 deraadt Exp $ */ +/* $OpenBSD: newfs_ext2fs.c,v 1.17 2015/10/14 15:54:49 deraadt Exp $ */ /* $NetBSD: newfs_ext2fs.c,v 1.8 2009/03/02 10:38:13 tsutsui Exp $ */ /* @@ -296,10 +296,6 @@ main(int argc, char *argv[]) } pp = getpartition(fsi, special, argv, &lp); - - if (pledge("stdio", NULL) == -1) - err(1, "pledge"); - if (!Iflag) { static const char m[] = "%s partition type is not `%s' (or use -I)"; |