summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fsck_ext2fs/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sbin/fsck_ext2fs/main.c b/sbin/fsck_ext2fs/main.c
index f7c38ce4956..98bd95f0ddd 100644
--- a/sbin/fsck_ext2fs/main.c
+++ b/sbin/fsck_ext2fs/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.25 2015/11/23 23:01:20 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.26 2015/11/25 00:29:15 deraadt Exp $ */
/* $NetBSD: main.c,v 1.1 1997/06/11 11:21:50 bouyer Exp $ */
/*
@@ -158,10 +158,6 @@ checkfilesys(char *filesys, char *mntpt, long auxdata, int child)
if (debug && preen)
pwarn("starting\n");
- if (!hotroot())
- if (pledge("stdio rpath wpath getpw disklabel", NULL) == -1)
- err(1, "pledge");
-
switch (setup(filesys)) {
case 0:
if (preen)