summaryrefslogtreecommitdiffstats
path: root/lib/libstand/nullfs.c
diff options
context:
space:
mode:
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 96e69d2..0f77bd4 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;
+}
OpenPOWER on IntegriCloud