summaryrefslogtreecommitdiff
path: root/usr.bin/what/what.c
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2020-04-18 15:10:07 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2020-04-18 15:10:07 +0000
commit267595ad4513f2ac8d4c0dd1b1406f71946847bf (patch)
tree1a2afc7211aeaee7c513c3012feb93574128d21e /usr.bin/what/what.c
parent7240f9bee3f815e64407427f816ddb3ccbad9c85 (diff)
Add a colon after the name/path/argument to conform to POSIX.
From Andras Farkas (deepbluemistake <at> gmail <dot> com) OK sthen@ deraadt@
Diffstat (limited to 'usr.bin/what/what.c')
-rw-r--r--usr.bin/what/what.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/what/what.c b/usr.bin/what/what.c
index d22d67387b0..54917ff2a44 100644
--- a/usr.bin/what/what.c
+++ b/usr.bin/what/what.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: what.c,v 1.15 2015/10/09 01:37:09 deraadt Exp $ */
+/* $OpenBSD: what.c,v 1.16 2020/04/18 15:10:06 martijn Exp $ */
/* $NetBSD: what.c,v 1.4 1994/12/20 16:01:03 jtc Exp $ */
/*
@@ -85,7 +85,7 @@ main(int argc, char *argv[])
perror(*argv);
exit(matches ? 0 : 1);
}
- printf("%s\n", *argv);
+ printf("%s:\n", *argv);
search(match);
} while(*++argv);
exit(matches ? 0 : 1);