Date: Thu, 12 Mar 2020 18:28:23 +0000 (UTC) From: Mateusz Piotrowski <0mp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r358916 - head/lib/libc/gen Message-ID: <202003121828.02CISN2o090957@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: 0mp (doc,ports committer) Date: Thu Mar 12 18:28:23 2020 New Revision: 358916 URL: https://svnweb.freebsd.org/changeset/base/358916 Log: 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 Modified: head/lib/libc/gen/ftw.3 Modified: head/lib/libc/gen/ftw.3 ============================================================================== --- head/lib/libc/gen/ftw.3 Thu Mar 12 16:15:03 2020 (r358915) +++ head/lib/libc/gen/ftw.3 Thu Mar 12 18:28:23 2020 (r358916) @@ -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 main(int argc, char **argv) { + if (argc != 2) { printf("Usage %s <directory>\\n", argv[0]); return (EX_USAGE);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003121828.02CISN2o090957>