summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmcc <mmcc@openbsd.org>2015-11-03 05:13:35 +0000
committermmcc <mmcc@openbsd.org>2015-11-03 05:13:35 +0000
commit70cfe9347f4942a9e5834636cec65003e730f532 (patch)
tree84a0c5ba1f48f5a63aadbe0c5b1e2361954f8b73
parentBlank line after pledge call. (diff)
downloadwireguard-openbsd-70cfe9347f4942a9e5834636cec65003e730f532.tar.xz
wireguard-openbsd-70cfe9347f4942a9e5834636cec65003e730f532.zip
Blank line after pledge call.
-rw-r--r--usr.bin/finger/finger.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/finger/finger.c b/usr.bin/finger/finger.c
index 7d64dd080d3..aad0f07a107 100644
--- a/usr.bin/finger/finger.c
+++ b/usr.bin/finger/finger.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: finger.c,v 1.25 2015/10/26 16:57:13 deraadt Exp $ */
+/* $OpenBSD: finger.c,v 1.26 2015/11/03 05:13:35 mmcc Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@@ -138,6 +138,7 @@ main(int argc, char *argv[])
*/
if (pledge("stdio rpath getpw", NULL) == -1)
err(1, "pledge");
+
if (!lflag)
sflag = 1; /* if -l not explicit, force -s */
loginlist();