diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-10 20:35:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-10 20:35:02 +0000 |
commit | 8d404b3642b5cd3bbc23b967a369465cdceef0a6 (patch) | |
tree | 80a8faa0a10379f34dd9410045ffcc2e145eaf49 /usr.bin/finger | |
parent | a43127574ba4055cdf66955f4270ad65bedae9d5 (diff) |
normalize a few more tame request orderings, to help review
Diffstat (limited to 'usr.bin/finger')
-rw-r--r-- | usr.bin/finger/finger.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/finger/finger.c b/usr.bin/finger/finger.c index d8b755cbd1e..cd06cce8599 100644 --- a/usr.bin/finger/finger.c +++ b/usr.bin/finger/finger.c @@ -1,4 +1,4 @@ -/* $OpenBSD: finger.c,v 1.22 2015/10/09 01:37:07 deraadt Exp $ */ +/* $OpenBSD: finger.c,v 1.23 2015/10/10 20:35:00 deraadt Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. @@ -126,7 +126,7 @@ main(int argc, char *argv[]) mflag++; } - if (pledge("stdio getpw rpath inet", NULL) == -1) + if (pledge("stdio rpath getpw inet", NULL) == -1) err(1, "pledge"); (void)time(&now); @@ -137,7 +137,7 @@ main(int argc, char *argv[]) * not selected. Force the -s BEFORE we get names so proper * screening will be done. */ - if (pledge("stdio getpw rpath", NULL) == -1) + if (pledge("stdio rpath getpw", NULL) == -1) err(1, "pledge"); if (!lflag) sflag = 1; /* if -l not explicit, force -s */ @@ -220,7 +220,7 @@ userlist(int argc, char **argv) goto net; if (nettail == &nethead) - if (pledge("stdio getpw rpath", NULL) == -1) + if (pledge("stdio rpath getpw", NULL) == -1) err(1, "pledge"); /* |