diff options
author | 2015-11-24 00:21:55 +0000 | |
---|---|---|
committer | 2015-11-24 00:21:55 +0000 | |
commit | 50dc006ac1c17c83be937520beac4a172dbef79e (patch) | |
tree | 1bda514aab264a29b3810fc52c04b7ff02c65cbb | |
parent | missing pledge "getpw" (diff) | |
download | wireguard-openbsd-50dc006ac1c17c83be937520beac4a172dbef79e.tar.xz wireguard-openbsd-50dc006ac1c17c83be937520beac4a172dbef79e.zip |
use canonical pledge argument ordering
-rw-r--r-- | usr.sbin/rebound/rebound.c | 4 |
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) { |