summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2016-02-05 12:58:34 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2016-02-05 12:58:34 +0000
commit637bbaa20b5c61c41b072937dbae64c48fada107 (patch)
tree4fe42fc44ce36495619a32137657af7f7e79e874
parent29e26313e1e217624719b307671f30e27d40c850 (diff)
No need for pledge("rpath")
-rw-r--r--usr.bin/locale/locale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/locale/locale.c b/usr.bin/locale/locale.c
index c8a132b2da1..8cc960e7fe9 100644
--- a/usr.bin/locale/locale.c
+++ b/usr.bin/locale/locale.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: locale.c,v 1.10 2015/11/19 06:07:16 deraadt Exp $ */
+/* $OpenBSD: locale.c,v 1.11 2016/02/05 12:58:33 jca Exp $ */
/*
* Copyright (c) 2013 Stefan Sperling <stsp@openbsd.org>
*
@@ -180,7 +180,7 @@ main(int argc, char *argv[])
setlocale(LC_ALL, "");
- if (pledge("stdio rpath", NULL) == -1)
+ if (pledge("stdio", NULL) == -1)
err(1, "pledge");
if (argc == 1) {