summaryrefslogtreecommitdiff
path: root/usr.bin/banner
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2015-11-03 04:54:08 +0000
committermmcc <mmcc@cvs.openbsd.org>2015-11-03 04:54:08 +0000
commit78703e88eb5fbb433edc34721c9854daca0fb700 (patch)
treed61553e8e24c3d7d9ff839b9abaf3453c1000efd /usr.bin/banner
parenta4457d33c90945850fa3452a49d7f3afdff8175c (diff)
Add blank line after pledge call.
Diffstat (limited to 'usr.bin/banner')
-rw-r--r--usr.bin/banner/banner.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/banner/banner.c b/usr.bin/banner/banner.c
index 9fb80f426d4..f3e1da32414 100644
--- a/usr.bin/banner/banner.c
+++ b/usr.bin/banner/banner.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: banner.c,v 1.11 2015/10/09 01:37:06 deraadt Exp $ */
+/* $OpenBSD: banner.c,v 1.12 2015/11/03 04:54:07 mmcc Exp $ */
/* $NetBSD: banner.c,v 1.2 1995/04/09 06:00:15 cgd Exp $ */
/*
@@ -155,6 +155,7 @@ main(int argc, char *argv[])
if (pledge("stdio", NULL) == -1)
err(1, "pledge");
+
while (*++argv) {
(void)strlcpy(word, *argv, sizeof (word));
scan_out(1, word, '\0');