summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorcsjp <csjp@FreeBSD.org>2004-07-20 19:30:57 +0000
committercsjp <csjp@FreeBSD.org>2004-07-20 19:30:57 +0000
commit3df381ba1a38c59b3f0117dbd5111bf9badd868e (patch)
tree420e461d75773b4d8c0bce6d9802d6f07acc18b0 /lib
parentc54b8f6444d1750db19d7a499c92388dd4c20ff5 (diff)
downloadFreeBSD-src-3df381ba1a38c59b3f0117dbd5111bf9badd868e.zip
FreeBSD-src-3df381ba1a38c59b3f0117dbd5111bf9badd868e.tar.gz
Back out previous commit. Even though statfs(2) can take a regular
file as an argument, it may still fail for the same reasons that open(2) can. Pointed out by: Jilles Tjoelker Apporived by: bmilekic (mentor)
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/statfs.24
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/sys/statfs.2 b/lib/libc/sys/statfs.2
index cb31e98..0a98ba7 100644
--- a/lib/libc/sys/statfs.2
+++ b/lib/libc/sys/statfs.2
@@ -175,6 +175,10 @@ The
system call
fails if one or more of the following are true:
.Bl -tag -width Er
+.It Bq Er ENOTDIR
+A component of the path prefix of
+.Fa path
+is not a directory.
.It Bq Er ENAMETOOLONG
The length of a component of
.Fa path
OpenPOWER on IntegriCloud