diff options
Diffstat (limited to 'sbin/umount')
-rw-r--r-- | sbin/umount/umount.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/umount/umount.c b/sbin/umount/umount.c index 5278ecfd834..570d18414c3 100644 --- a/sbin/umount/umount.c +++ b/sbin/umount/umount.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umount.c,v 1.26 2015/01/16 06:40:01 deraadt Exp $ */ +/* $OpenBSD: umount.c,v 1.27 2016/12/16 17:44:59 krw Exp $ */ /* $NetBSD: umount.c,v 1.16 1996/05/11 14:13:55 mycroft Exp $ */ /*- @@ -145,11 +145,13 @@ int umountfs(char *oname) { struct hostent *hp; +#ifndef NO_NFS struct sockaddr_in saddr; - struct stat sb; struct timeval pertry, try; CLIENT *clp; int so; +#endif + struct stat sb; char *delimp, *hostp, *mntpt; char *name, *newname, rname[PATH_MAX], type[MFSNAMELEN]; |