summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-11-24 00:21:55 +0000
committerderaadt <deraadt@openbsd.org>2015-11-24 00:21:55 +0000
commit50dc006ac1c17c83be937520beac4a172dbef79e (patch)
tree1bda514aab264a29b3810fc52c04b7ff02c65cbb
parentmissing pledge "getpw" (diff)
downloadwireguard-openbsd-50dc006ac1c17c83be937520beac4a172dbef79e.tar.xz
wireguard-openbsd-50dc006ac1c17c83be937520beac4a172dbef79e.zip
use canonical pledge argument ordering
-rw-r--r--usr.sbin/rebound/rebound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rebound/rebound.c b/usr.sbin/rebound/rebound.c
index d973edae872..ec3f78d8722 100644
--- a/usr.sbin/rebound/rebound.c
+++ b/usr.sbin/rebound/rebound.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rebound.c,v 1.44 2015/11/16 21:27:42 tedu Exp $ */
+/* $OpenBSD: rebound.c,v 1.45 2015/11/24 00:21:55 deraadt Exp $ */
/*
* Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
*
@@ -616,7 +616,7 @@ main(int argc, char **argv)
struct timespec ts, *timeout = NULL;
const char *conffile = "/etc/rebound.conf";
- if (pledge("stdio inet proc id rpath", NULL) == -1)
+ if (pledge("stdio rpath inet proc id", NULL) == -1)
logerr("pledge failed");
while ((ch = getopt(argc, argv, "c:d")) != -1) {