summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_vfsops.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-28 17:32:05 +0000
committerdillon <dillon@FreeBSD.org>1999-01-28 17:32:05 +0000
commitca558df378372b5884ff8069ed7ca0828d9b8de1 (patch)
tree437f037c49b94ed358c6bed90d5be63adb743843 /sys/nfsclient/nfs_vfsops.c
parent789691e908f6bc573894f86b17cf9616bce158c7 (diff)
downloadFreeBSD-src-ca558df378372b5884ff8069ed7ca0828d9b8de1.zip
FreeBSD-src-ca558df378372b5884ff8069ed7ca0828d9b8de1.tar.gz
Fix warnings related to -Wall -Wcast-qual
Diffstat (limited to 'sys/nfsclient/nfs_vfsops.c')
-rw-r--r--sys/nfsclient/nfs_vfsops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c
index 5f34890..241c4f3 100644
--- a/sys/nfsclient/nfs_vfsops.c
+++ b/sys/nfsclient/nfs_vfsops.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_vfsops.c 8.12 (Berkeley) 5/20/95
- * $Id: nfs_vfsops.c,v 1.79 1998/12/04 22:54:54 archie Exp $
+ * $Id: nfs_vfsops.c,v 1.80 1999/01/28 00:57:51 dillon Exp $
*/
#include <sys/param.h>
@@ -142,8 +142,8 @@ VFS_SET(nfs_vfsops, nfs, VFCF_NETWORK);
* server for a diskless/dataless machine. It is initialized below just
* to ensure that it is allocated to initialized data (.data not .bss).
*/
-struct nfs_diskless nfs_diskless = { { 0 } };
-struct nfsv3_diskless nfsv3_diskless = { { 0 } };
+struct nfs_diskless nfs_diskless = { { { 0 } } };
+struct nfsv3_diskless nfsv3_diskless = { { { 0 } } };
int nfs_diskless_valid = 0;
SYSCTL_INT(_vfs_nfs, OID_AUTO, diskless_valid, CTLFLAG_RD,
OpenPOWER on IntegriCloud