summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/mount_nfs/mount_nfs.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/sbin/mount_nfs/mount_nfs.c b/sbin/mount_nfs/mount_nfs.c
index 2d2dbc29d59..857ab5e2720 100644
--- a/sbin/mount_nfs/mount_nfs.c
+++ b/sbin/mount_nfs/mount_nfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount_nfs.c,v 1.20 2001/06/24 17:03:19 csapuntz Exp $ */
+/* $OpenBSD: mount_nfs.c,v 1.21 2001/07/07 00:19:52 millert Exp $ */
/* $NetBSD: mount_nfs.c,v 1.12.4.1 1996/05/25 22:48:05 fvdl Exp $ */
/*
@@ -134,11 +134,11 @@ const struct mntopt mopts[] = {
struct nfs_args nfsdefargs = {
NFS_ARGSVERSION,
- (struct sockaddr *)0,
+ NULL,
sizeof (struct sockaddr_in),
SOCK_DGRAM,
0,
- (u_char *)0,
+ NULL,
0,
NFSMNT_NFSV3,
NFS_WSIZE,
@@ -148,7 +148,13 @@ struct nfs_args nfsdefargs = {
NFS_RETRANS,
NFS_MAXGRPS,
NFS_DEFRAHEAD,
- (char *)0,
+ 0,
+ 0,
+ NULL,
+ 0,
+ 0,
+ 0,
+ 0
};
struct nfhret {