diff options
| author | John Birrell <jb@FreeBSD.org> | 1998-03-09 04:36:07 +0000 |
|---|---|---|
| committer | John Birrell <jb@FreeBSD.org> | 1998-03-09 04:36:07 +0000 |
| commit | ee51c92b78158ad1a1e9f819b2f7c71bce8b4165 (patch) | |
| tree | 3ed98eb21bf40910beb2aef87b799ad01d19a05e /lib/libc | |
| parent | 59fe2e5fd03f3863bb0f6414078ed2127312a745 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/gen/getvfsbyname.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/gen/getvfsbyname.c b/lib/libc/gen/getvfsbyname.c index ae63bfe4fd76..57d1db4e7744 100644 --- a/lib/libc/gen/getvfsbyname.c +++ b/lib/libc/gen/getvfsbyname.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)kvm_getvfsbyname.c 8.1 (Berkeley) 4/3/95"; #endif static const char rcsid[] = - "$Id$"; + "$Id: getvfsbyname.c,v 1.2 1997/03/03 13:08:33 bde Exp $"; #endif /* not lint */ #define _NEW_VFSCONF @@ -54,6 +54,9 @@ getvfsbyname(fsname, vfcp) const char *fsname; struct vfsconf *vfcp; { +#ifdef __NETBSD_SYSCALLS + errno = ENOSYS; +#else int name[4], maxtypenum, cnt; size_t buflen; @@ -76,5 +79,6 @@ getvfsbyname(fsname, vfcp) return (0); } errno = ENOENT; +#endif return (-1); } |
