aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-12-07 19:32:51 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-12-07 19:32:51 +0000
commite4b7f9977d367cf5e8cfef41f53fb1fbea65be55 (patch)
tree3ea85e4fb56b038b0dfad8e53c783f5e5537dc1e
parent6b6da70802996058b75788e36e6a91825ffe9009 (diff)
downloadman-pages-e4b7f9977d367cf5e8cfef41f53fb1fbea65be55.tar.gz
ffix
-rw-r--r--man3/ftw.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/ftw.3 b/man3/ftw.3
index 8917a994e9..bfc56ebfd1 100644
--- a/man3/ftw.3
+++ b/man3/ftw.3
@@ -374,8 +374,9 @@ main(int argc, char *argv[])
if (argc > 2 && strchr(argv[2], 'p') != NULL)
flags |= FTW_PHYS;
- if (nftw((argc < 2) ? "." : argv[1], display_info, 20, flags) == \-1) {
- perror("nftw");
+ if (nftw((argc < 2) ? "." : argv[1], display_info, 20, flags)
+ == \-1) {
+ perror("nftw");
exit(EXIT_FAILURE);
}
exit(EXIT_SUCCESS);