diff options
author | 1997-02-16 14:39:37 +0000 | |
---|---|---|
committer | 1997-02-16 14:39:37 +0000 | |
commit | e76f679c153fe0e6f6cd51b95d1683674d96fd05 (patch) | |
tree | 37c26e335514ca52edf40c78693525a3ff6a82a8 /sys/lib/libsa/nfs.c | |
parent | More rd changes that were missed... Still not working. (diff) | |
download | wireguard-openbsd-e76f679c153fe0e6f6cd51b95d1683674d96fd05.tar.xz wireguard-openbsd-e76f679c153fe0e6f6cd51b95d1683674d96fd05.zip |
opendir, readdir, closedir (define NO_READDIR, if none required)
minor fix in cd9660
only ufs working, all the others are on the list....
Diffstat (limited to 'sys/lib/libsa/nfs.c')
-rw-r--r-- | sys/lib/libsa/nfs.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/lib/libsa/nfs.c b/sys/lib/libsa/nfs.c index a09d4698d0a..9e266aa86e7 100644 --- a/sys/lib/libsa/nfs.c +++ b/sys/lib/libsa/nfs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs.c,v 1.6 1996/12/08 15:15:52 niklas Exp $ */ +/* $OpenBSD: nfs.c,v 1.7 1997/02/16 14:39:39 mickey Exp $ */ /* $NetBSD: nfs.c,v 1.19 1996/10/13 02:29:04 christos Exp $ */ /*- @@ -42,6 +42,7 @@ #include "nfsv2.h" #include "stand.h" +#include "saerrno.h" #include "net.h" #include "netif.h" #include "nfs.h" @@ -639,3 +640,16 @@ nfs_stat(f, sb) return (0); } + +/* + * Not implemented. + */ +#ifndef NO_READDIR +int +nfs_readdir(f, name) + struct open_file *f; + char *name; +{ + return (EROFS); +} +#endif |