summaryrefslogtreecommitdiff
path: root/lib/libstand/nullfs.c
diff options
context:
space:
mode:
authorJonathan Lemon <jlemon@FreeBSD.org>2000-04-29 20:47:10 +0000
committerJonathan Lemon <jlemon@FreeBSD.org>2000-04-29 20:47:10 +0000
commitefb8ff85324712bafcd6a2f12860719f45352762 (patch)
tree7a85eb5687d4fce46f6b57b31d505c93507a8414 /lib/libstand/nullfs.c
parentee8d82ce9f77be7cf71c3e1d3914056159a5d26b (diff)
Notes
Diffstat (limited to 'lib/libstand/nullfs.c')
-rw-r--r--lib/libstand/nullfs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libstand/nullfs.c b/lib/libstand/nullfs.c
index 96e69d2fa905..0f77bd4c185c 100644
--- a/lib/libstand/nullfs.c
+++ b/lib/libstand/nullfs.c
@@ -104,3 +104,9 @@ int null_stat (struct open_file *f, struct stat *sb)
errno = EIO;
return -1;
}
+
+int null_readdir(struct open_file *f, struct dirent *d)
+{
+ errno = EIO;
+ return -1;
+}