aboutsummaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-03-12 18:28:23 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-03-12 18:28:23 +0000
commit18a9889f69b07bfc0f93dae94839ffc16dca0112 (patch)
tree6e6f90fe8d18301727913dc8f4843e6f8052ceb8 /lib/libc
parent0fbbe50269368fe5e879a731042457d2cd38c249 (diff)
downloadsrc-18a9889f69b07bfc0f93dae94839ffc16dca0112.tar.gz
src-18a9889f69b07bfc0f93dae94839ffc16dca0112.zip
ftw.3: Follow style(9) in the example
Reported by: oshogbo Approved by: bcr (mentor) MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D24043
Notes
Notes: svn path=/head/; revision=358916
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/ftw.33
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/ftw.3 b/lib/libc/gen/ftw.3
index fe157a5b903f..a936e431d882 100644
--- a/lib/libc/gen/ftw.3
+++ b/lib/libc/gen/ftw.3
@@ -20,7 +20,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 5, 2020
+.Dd March 12, 2020
.Dt FTW 3
.Os
.Sh NAME
@@ -209,6 +209,7 @@ nftw_callback(const char *path, const struct stat *sb, int typeflag, struct FTW
int
main(int argc, char **argv)
{
+
if (argc != 2) {
printf("Usage %s <directory>\\n", argv[0]);
return (EX_USAGE);