summaryrefslogtreecommitdiff
path: root/sbin/newfs_ext2fs/newfs_ext2fs.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-11-28 06:12:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-11-28 06:12:10 +0000
commitecdeff8d64352a4d1afc9aecd9a01cd0c0d52168 (patch)
tree40beec8be71ad274fe4ea95bdd0840f5c9e6e9e4 /sbin/newfs_ext2fs/newfs_ext2fs.c
parent6b5fd82d2507c6b82b38245a1727efe4aa44d9cd (diff)
Oops, left the pledge "tty" active in the previous commited
pointed out by Chris Hettrick
Diffstat (limited to 'sbin/newfs_ext2fs/newfs_ext2fs.c')
-rw-r--r--sbin/newfs_ext2fs/newfs_ext2fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/newfs_ext2fs/newfs_ext2fs.c b/sbin/newfs_ext2fs/newfs_ext2fs.c
index cfd5c673fd4..079774e14ad 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.20 2015/11/26 06:59:12 deraadt Exp $ */
+/* $OpenBSD: newfs_ext2fs.c,v 1.21 2015/11/28 06:12:09 deraadt 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 tty disklabel", NULL) == -1)
+ if (pledge("stdio rpath wpath disklabel", NULL) == -1)
err(1, "pledge");
cp = NULL;