diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-07-07 00:19:53 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-07-07 00:19:53 +0000 |
commit | d9da9c211020ddfc2d2b0ae0f0e19a4abdee705c (patch) | |
tree | 631753c1040609f0271f93c8c74fc87714fb6b2f /sbin/mount_nfs/mount_nfs.c | |
parent | 52964a71982af4700e470bc6dd724dad11dcb19e (diff) |
Initialize missing parts of struct nfs_args nfsdefargs
Diffstat (limited to 'sbin/mount_nfs/mount_nfs.c')
-rw-r--r-- | sbin/mount_nfs/mount_nfs.c | 14 |
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 { |