summaryrefslogtreecommitdiff
path: root/sbin/mknod/mknod.c
diff options
context:
space:
mode:
authortb <tb@cvs.openbsd.org>2016-03-06 19:31:32 +0000
committertb <tb@cvs.openbsd.org>2016-03-06 19:31:32 +0000
commitdd16a0e34eda1a43f528a6058f03a1ae78575b73 (patch)
treec03b21ffa0f39f17bf64d237bfe4c00ac5a71f54 /sbin/mknod/mknod.c
parent9885cd2408cbb5a8af24220dd3f6988bc96849ee (diff)
Drop "rpath" promise. Now that pledge() is called after setlocale(),
this is no longer needed. ok beck@, natano@
Diffstat (limited to 'sbin/mknod/mknod.c')
-rw-r--r--sbin/mknod/mknod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mknod/mknod.c b/sbin/mknod/mknod.c
index b2e479b8031..91b311e5544 100644
--- a/sbin/mknod/mknod.c
+++ b/sbin/mknod/mknod.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mknod.c,v 1.27 2016/03/06 14:38:19 espie Exp $ */
+/* $OpenBSD: mknod.c,v 1.28 2016/03/06 19:31:31 tb Exp $ */
/* $NetBSD: mknod.c,v 1.8 1995/08/11 00:08:18 jtc Exp $ */
/*
@@ -54,7 +54,7 @@ main(int argc, char *argv[])
setlocale(LC_ALL, "");
- if (pledge("stdio rpath dpath", NULL) == -1)
+ if (pledge("stdio dpath", NULL) == -1)
err(1, "pledge");
node = reallocarray(NULL, sizeof(struct node), argc);